From a624eecb9617923070467403c210aba373a69f90 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 18 Dec 2010 08:14:54 +0000 Subject: [PATCH] Change this string now so we can freeze earlier. see #15866. git-svn-id: http://svn.automattic.com/wordpress/trunk@17040 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/update-core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 4921b6f22..98661834f 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -14,8 +14,8 @@ if ( is_multisite() && ! is_network_admin() ) { exit(); } -if ( ! current_user_can('update_plugins') ) - wp_die(__('You do not have sufficient permissions to update plugins for this site.')); +if ( ! current_user_can( 'update_plugins' ) ) + wp_die( __( 'You do not have sufficient permissions to update this site.' ) ); function list_core_update( $update ) { global $wp_local_package, $wpdb;