Make WordPress Core

Changeset 25192


Ignore:
Timestamp:
08/31/2013 12:58:48 AM (11 years ago)
Author:
nacin
Message:

Hide 'Database Upgrade Required' on admin/network/upgrade.php when you are not being asked to upgrade, to prevent confusion.

Merges [25191] to the 3.6 branch.

props duck_.
fixes #24845.

Location:
branches/3.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6

  • branches/3.6/wp-admin/network/upgrade.php

    r23619 r25192  
    8585    case 'show':
    8686    default:
     87        if ( get_site_option( 'wpmu_upgrade_site' ) != $GLOBALS['wp_db_version'] ) :
    8788        ?>
    8889        <h3><?php _e( 'Database Upgrade Required' ); ?></h3>
    8990        <p><?php _e( 'WordPress has been updated! Before we send you on your way, we need to individually upgrade the sites in your network.' ); ?></p>
     91        <?php endif; ?>
     92
    9093        <p><?php _e( 'The upgrade process may take a little while, so please be patient.' ); ?></p>
    9194        <p><a class="button" href="upgrade.php?action=upgrade"><?php _e( 'Upgrade Network' ); ?></a></p>
Note: See TracChangeset for help on using the changeset viewer.