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
This commit is contained in:
Andrew Nacin 2010-12-18 08:14:54 +00:00
parent c5efc2d6aa
commit ea94bfe385

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;