From ce655b96b80ce90722e172805d8463353cb3bb88 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 27 Dec 2006 00:51:00 +0000 Subject: [PATCH] Typo fixes from mdawaffe. fixes #3474 git-svn-id: http://svn.automattic.com/wordpress/trunk@4664 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-functions.php | 2 +- wp-admin/categories.php | 4 ++-- wp-admin/export.php | 2 +- wp-admin/link-add.php | 2 +- wp-admin/plugins.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 7bf35055c..e6d1afabe 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 a1017270e..f7a04f9aa 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 %s category: this is the default one"), $cat_name)); + wp_die(sprintf(__("Can’t delete the %s category: this is the default one"), $cat_name)); if ( $cat_ID == get_option('default_link_category') ) - wp_die(sprintf(__("Can&8217;t delete the %s category: this is the default one for links"), $cat_name)); + wp_die(sprintf(__("Can’t delete the %s 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 80439ffb8..7dc26fc21 100644 --- a/wp-admin/export.php +++ b/wp-admin/export.php @@ -14,7 +14,7 @@ require_once ('admin-header.php');

-

+

diff --git a/wp-admin/link-add.php b/wp-admin/link-add.php index 2f7ed7828..fca6c3e7b 100644 --- a/wp-admin/link-add.php +++ b/wp-admin/link-add.php @@ -28,7 +28,7 @@ require('admin-header.php'); diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index 0db77d616..94d461d3e 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -79,7 +79,7 @@ $plugins = get_plugins(); if (empty($plugins)) { echo '

'; - _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 '

'; } else { ?>