diff --git a/wp-admin/bookmarklet.php b/wp-admin/bookmarklet.php index 4345340448..04e13cd861 100644 --- a/wp-admin/bookmarklet.php +++ b/wp-admin/bookmarklet.php @@ -3,7 +3,7 @@ $mode = 'bookmarklet'; require_once('admin.php'); if ( ! current_user_can('edit_posts') ) - die ("Cheatin' uh?"); + wp_die(__('Cheatin’ uh?')); if ('b' == $a): ?> diff --git a/wp-admin/categories.php b/wp-admin/categories.php index 63313d875d..65d4b7fba9 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -13,7 +13,7 @@ case 'addcat': check_admin_referer('add-category'); if ( !current_user_can('manage_categories') ) - die (__('Cheatin’ uh?')); + wp_die(__('Cheatin’ uh?')); wp_insert_category($_POST); @@ -25,7 +25,7 @@ case 'delete': check_admin_referer('delete-category_' . $cat_ID); if ( !current_user_can('manage_categories') ) - die (__('Cheatin’ uh?')); + wp_die(__('Cheatin’ uh?')); $cat_name = get_catname($cat_ID); @@ -56,7 +56,7 @@ case 'editedcat': check_admin_referer('update-category_' . $cat_ID); if ( !current_user_can('manage_categories') ) - die (__('Cheatin’ uh?')); + wp_die(__('Cheatin’ uh?')); wp_update_category($_POST); diff --git a/wp-admin/install.php b/wp-admin/install.php index 58a7bec184..9c2ade499d 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -74,7 +74,7 @@ header( 'Content-Type: text/html; charset=utf-8' );
'.__('Already Installed').''.__('You appear to have already installed WordPress. To reinstall please clear your old database tables first.').'