Make WordPress Core

Changeset 14726


Ignore:
Timestamp:
05/18/2010 03:30:05 PM (15 years ago)
Author:
ryan
Message:

Remove old metaboxorder settings. see #13424

Location:
trunk
Files:
2 edited

Legend:

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

    r14705 r14726  
    441441        upgrade_290();
    442442
    443     if ( $wp_current_db_version < 14595 )
     443    if ( $wp_current_db_version < 14726 )
    444444        upgrade_300();
    445445
     
    11361136        $wpdb->update( $wpdb->postmeta, array( 'meta_value' => '' ), array( 'meta_key' => '_menu_item_target', 'meta_value' => '_self' ) );
    11371137
    1138     // 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 < 14595 ) {
     1138    // 3.0-beta metabox changes. can be removed before release (except metaboxorder). // r13551
     1139    if ( ( !is_multisite() || is_main_site() ) && $wp_current_db_version >= 13309 && $wp_current_db_version < 14726 ) {
    11401140        $prefix = like_escape($wpdb->base_prefix);
    1141         $wpdb->query( "DELETE FROM $wpdb->usermeta WHERE meta_key LIKE '{$prefix}%meta-box-hidden%' OR meta_key LIKE '{$prefix}%closedpostboxes%' OR meta_key LIKE '{$prefix}%manage-%-columns-hidden%' OR meta_key LIKE '{$prefix}%meta-box-order%' OR meta_key LIKE '{$prefix}%screen_layout%'" );
     1141        $wpdb->query( "DELETE FROM $wpdb->usermeta WHERE meta_key LIKE '{$prefix}%meta-box-hidden%' OR meta_key LIKE '{$prefix}%closedpostboxes%' OR meta_key LIKE '{$prefix}%manage-%-columns-hidden%' OR meta_key LIKE '{$prefix}%meta-box-order%' OR meta_key LIKE '{$prefix}%metaboxorder%' OR meta_key LIKE '{$prefix}%screen_layout%'" );
    11421142    }
    11431143
  • trunk/wp-includes/version.php

    r14697 r14726  
    1616 * @global int $wp_db_version
    1717 */
    18 $wp_db_version = 14651;
     18$wp_db_version = 14726;
    1919
    2020/**
Note: See TracChangeset for help on using the changeset viewer.