diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php index e3ce2a36e1..8c2f8224d8 100644 --- a/src/wp-admin/includes/ms.php +++ b/src/wp-admin/includes/ms.php @@ -748,16 +748,25 @@ function mu_dropdown_languages( $lang_files = array(), $current = '' ) { * * @since 3.0.0 * - * @global int $wp_db_version The version number of the database. + * @global int $wp_db_version The version number of the database. + * @global string $pagenow * * @return false False if the current user is not a super admin. */ function site_admin_notice() { - global $wp_db_version; - if ( !is_super_admin() ) + global $wp_db_version, $pagenow; + + if ( ! is_super_admin() ) { return false; - if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) + } + + if ( 'upgrade.php' == $pagenow ) { + return; + } + + if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version ) { echo "