diff options
Diffstat (limited to 'wp-admin')
-rw-r--r-- | wp-admin/admin-functions.php | 2 | ||||
-rw-r--r-- | wp-admin/categories.php | 4 | ||||
-rw-r--r-- | wp-admin/export.php | 2 | ||||
-rw-r--r-- | wp-admin/link-add.php | 2 | ||||
-rw-r--r-- | wp-admin/plugins.php | 2 | ||||
-rw-r--r-- | wp-admin/templates.php | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 438aa47..07e9cc8 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -561,7 +561,7 @@ function add_link() { function edit_link( $link_id = '' ) { if (!current_user_can( 'manage_links' )) - wp_die( __( 'Cheatin&8217; uh?' )); + wp_die( __( 'Cheatin’ uh?' )); $_POST['link_url'] = wp_specialchars( $_POST['link_url'] ); $_POST['link_url'] = preg_match('/^(https?|ftps?|mailto|news|irc|gopher|nntp|feed|telnet):/is', $_POST['link_url']) ? $_POST['link_url'] : 'http://' . $_POST['link_url']; diff --git a/wp-admin/categories.php b/wp-admin/categories.php index a101727..f7a04f9 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -34,10 +34,10 @@ case 'delete': // Don't delete the default cats. if ( $cat_ID == get_option('default_category') ) - wp_die(sprintf(__("Can&8217;t delete the <strong>%s</strong> category: this is the default one"), $cat_name)); + wp_die(sprintf(__("Can’t delete the <strong>%s</strong> category: this is the default one"), $cat_name)); if ( $cat_ID == get_option('default_link_category') ) - wp_die(sprintf(__("Can&8217;t delete the <strong>%s</strong> category: this is the default one for links"), $cat_name)); + wp_die(sprintf(__("Can’t delete the <strong>%s</strong> category: this is the default one for links"), $cat_name)); wp_delete_category($cat_ID); diff --git a/wp-admin/export.php b/wp-admin/export.php index e4bfbac..b763412 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -14,7 +14,7 @@ require_once ('admin-header.php'); <div class="narrow">
<p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
<p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, comments, custom fields, and categories.'); ?></p>
-<p><?php _e('Once you&8217;ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
+<p><?php _e('Once you’ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
<form action="" method="get">
<h3><?php _e('Optional options'); ?></h3>
diff --git a/wp-admin/link-add.php b/wp-admin/link-add.php index 2f7ed78..fca6c3e 100644 --- a/wp-admin/link-add.php +++ b/wp-admin/link-add.php @@ -28,7 +28,7 @@ require('admin-header.php'); <div id="wp-link-bookmarklet" class="wrap"> <h3><?php _e('Add Link Bookmarklet'); ?></h3> -<p><?php _e('Right click on the following link and choose "Bookmark This Link..." to create an add link shortcut. Right now this only works on Mozilla or Netscape, but we&8217;re working on it.'); ?></p> +<p><?php _e('Right click on the following link and choose "Bookmark This Link..." to create an add link shortcut. Right now this only works on Mozilla or Netscape, but we’re working on it.'); ?></p> <?php printf('<p><a href="%s" title="'.__('Link add bookmarklet').'">'.__('Link This').'</a></p>', "javascript:void(linkmanpopup=window.open('" . get_option('siteurl') . "/wp-admin/link-add.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?> </div> diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index dc8fa28..2889b13 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -86,7 +86,7 @@ $plugins = get_plugins(); if (empty($plugins)) { echo '<p>'; - _e("Couldn&8217;t open plugins directory or there are no plugins available."); // TODO: make more helpful + _e("Couldn’t open plugins directory or there are no plugins available."); // TODO: make more helpful echo '</p>'; } else { ?> diff --git a/wp-admin/templates.php b/wp-admin/templates.php index b032494..7453992 100644 --- a/wp-admin/templates.php +++ b/wp-admin/templates.php @@ -99,7 +99,7 @@ if ( $recents ) : <?php echo '<ol>'; foreach ($recents as $recent) : - echo "<li><a href='templates.php?file=" . attribute_escape($recent) . "'>" . get_file_description(basename($recent)) . "</a></li>"; + echo "<li><a href='templates.php?file=" . attribute_escape($recent) . "'>" . wp_specialchars(get_file_description(basename($recent))) . "</a></li>"; endforeach; echo '</ol>'; endif; |