WordPress.org

Make WordPress Core

Changeset 14218


Ignore:
Timestamp:
04/24/10 10:29:01 (4 years ago)
Author:
dd32
Message:

Fix DB upgrade kickoff for removal of usermeta fields. See r14212, r14213, see #13032

Location:
trunk
Files:
2 edited

Legend:

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

    r14213 r14218  
    441441        upgrade_290(); 
    442442 
    443     if ( $wp_current_db_version < 14139 ) 
     443    if ( $wp_current_db_version < 14217 ) 
    444444        upgrade_300(); 
    445445 
     
    11371137 
    11381138    // 3.0-beta metabox changes. can be removed before release. // r13551 
    1139     if ( ( !is_multisite() || is_main_site() ) && $wp_current_db_version >= 13309 && $wp_current_db_version < 14139 ) 
     1139    if ( ( !is_multisite() || is_main_site() ) && $wp_current_db_version >= 13309 && $wp_current_db_version < 14217 ) 
    11401140        $wpdb->query( "DELETE FROM $wpdb->usermeta WHERE meta_key LIKE '{$wpdb->base_prefix}%meta-box-hidden%' OR meta_key LIKE '{$wpdb->base_prefix}%closedpostboxes%'" ); 
    11411141 
  • trunk/wp-includes/version.php

    r14189 r14218  
    1616 * @global int $wp_db_version 
    1717 */ 
    18 $wp_db_version = 14139; 
     18$wp_db_version = 14217; 
    1919 
    2020/** 
Note: See TracChangeset for help on using the changeset viewer.