Changeset 60103
- Timestamp:
- 03/28/2025 04:28:58 PM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/upgrade.php
r60095 r60103 12 12 13 13 require_once ABSPATH . WPINC . '/http.php'; 14 15 /** 16 * @global int $wp_db_version WordPress database version. 17 */ 18 global $wp_db_version; 14 19 15 20 // Used in the HTML title tag. … … 50 55 51 56 if ( $n < 5 ) { 52 /**53 * @global int $wp_db_version WordPress database version.54 */55 global $wp_db_version;56 57 update_site_option( 'wpmu_upgrade_site', $wp_db_version ); 57 58 } … … 136 137 case 'show': 137 138 default: 138 /** 139 * @global int $wp_db_version WordPress database version. 140 */ 141 if ( (int) get_site_option( 'wpmu_upgrade_site' ) !== $GLOBALS['wp_db_version'] ) : 139 if ( (int) get_site_option( 'wpmu_upgrade_site' ) !== $wp_db_version ) : 142 140 ?> 143 141 <h2><?php _e( 'Database Update Required' ); ?></h2>
Note: See TracChangeset
for help on using the changeset viewer.