Ticket #25777: 25777.2.diff
File 25777.2.diff, 770 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/includes/update.php
209 209 if ( ! isset( $cur->response ) || $cur->response != 'upgrade' ) 210 210 return false; 211 211 212 // Make sure the site admin update notice won't be displayed too. 213 remove_action( 'admin_notices', 'site_admin_notice' ); 214 remove_action( 'network_admin_notices', 'site_admin_notice' ); 215 212 216 if ( current_user_can('update_core') ) { 213 217 $msg = sprintf( __('<a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> is available! <a href="%2$s">Please update now</a>.'), $cur->current, network_admin_url( 'update-core.php' ) ); 214 218 } else {