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
This commit is contained in:
nacin 2010-12-18 08:14:54 +00:00
parent 74ee0ad290
commit a624eecb96
1 changed files with 2 additions and 2 deletions

View File

@ -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;