From ea94bfe3856b4426ab5ee5fe67d74acbd2c7291f Mon Sep 17 00:00:00 2001 From: Andrew 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: https://develop.svn.wordpress.org/trunk@17040 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 4921b6f223..98661834fc 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;