Ticket #4869: 4869.diff
File 4869.diff, 551 bytes (added by , 18 years ago) |
---|
-
wp-admin/includes/update.php
35 35 <div id="update-nag"><?php printf( __('Update Available! <a href="%s">Please upgrade now</a>.'), $cur->url ); ?></div> 36 36 <?php 37 37 } 38 add_action( 'admin_notices', 'update_nag', 3 ); 38 if ( current_user_can('switch_themes') ) 39 add_action( 'admin_notices', 'update_nag', 3 ); 39 40 40 41 function wp_update_plugins() { 41 42 global $wp_version;