Ticket #25777: 25777.diff
File 25777.diff, 811 bytes (added by , 11 years ago) |
---|
-
blog/wp-admin/includes/ms.php
607 607 global $wp_db_version; 608 608 if ( !is_super_admin() ) 609 609 return false; 610 if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) 610 611 $cur = get_preferred_from_update_core(); 612 if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version && ( ! isset( $cur->response ) || $cur->response != 'upgrade' ) ) 611 613 echo "<div class='update-nag'>" . sprintf( __( 'Thank you for Updating! Please visit the <a href="%s">Upgrade Network</a> page to update all your sites.' ), esc_url( network_admin_url( 'upgrade.php' ) ) ) . "</div>"; 612 614 } 613 615 add_action( 'admin_notices', 'site_admin_notice' );