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;