Make WordPress Core

Changeset 30121


Ignore:
Timestamp:
10/31/2014 04:02:08 PM (10 years ago)
Author:
boonebgorges
Message:

Bump db_version and add upgrade routine for schema change in [30056].

Fixes #22023.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r29900 r30121  
    442442    if ( $wp_current_db_version < 29630 )
    443443        upgrade_400();
     444
     445    if ( $wp_current_db_version < 30056 )
     446        upgrade_410();
    444447
    445448    maybe_disable_link_manager();
     
    13301333
    13311334/**
     1335 * Execute changes made in WordPress 4.1.0.
     1336 *
     1337 * @since 4.1.0
     1338 */
     1339function upgrade_410() {
     1340    global $wp_current_db_version, $wpdb;
     1341    if ( $wp_current_db_version < 30056 ) {
     1342        add_clean_index( $wpdb->terms, 'slug' );
     1343    }
     1344}
     1345
     1346/**
    13321347 * Execute network level changes
    13331348 *
  • trunk/src/wp-includes/version.php

    r30000 r30121  
    1212 * @global int $wp_db_version
    1313 */
    14 $wp_db_version = 29630;
     14$wp_db_version = 30056;
    1515
    1616/**
Note: See TracChangeset for help on using the changeset viewer.