WordPress.org

Make WordPress Core

Changeset 48582


Ignore:
Timestamp:
07/23/2020 06:41:41 PM (2 months ago)
Author:
desrosj
Message:

General: Ensure the database upgrades from [48575] are run.

This corrects the database version to match the commit number the upgrade changes were made.

See #50413.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/upgrade.php

    r48575 r48582  
    837837    }
    838838
    839     if ( $wp_current_db_version < 48121 ) {
     839    if ( $wp_current_db_version < 48575 ) {
    840840        upgrade_550();
    841841    }
     
    21832183    }
    21842184
    2185     if ( $wp_current_db_version < 48572 ) {
     2185    if ( $wp_current_db_version < 48575 ) {
    21862186        // Use more clear and inclusive language.
    21872187        $disallowed_list = get_option( 'blacklist_keys' );
    21882188
     2189        /*
     2190         * This option key was briefly renamed `blocklist_keys`.
     2191         * Account for sites that have this key present when the original key does not exist.
     2192         */
    21892193        if ( false === $disallowed_list ) {
    21902194            $disallowed_list = get_option( 'blocklist_keys' );
  • trunk/src/wp-includes/version.php

    r48551 r48582  
    2121 * @global int $wp_db_version
    2222 */
    23 $wp_db_version = 48397;
     23$wp_db_version = 48575;
    2424
    2525/**
Note: See TracChangeset for help on using the changeset viewer.