WordPress.org

Make WordPress Core

Changeset 14212


Ignore:
Timestamp:
04/24/10 03:09:48 (5 years ago)
Author:
wpmuguru
Message:

remove alpha-beta1 metabox preferences from options table, see #13032

File:
1 edited

Legend:

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

    r14194 r14212  
    11351135    if ( $wp_current_db_version >= 13802 && $wp_current_db_version < 13974 ) 
    11361136        $wpdb->update( $wpdb->postmeta, array( 'meta_value' => '' ), array( 'meta_key' => '_menu_item_target', 'meta_value' => '_self' ) ); 
     1137 
     1138    // 3.0-beta metabox changes. can be removed before release. // r13551 
     1139    if ( $wp_current_db_version >= 13309 && $wp_current_db_version < 14139 ) 
     1140        $wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '%meta-box-hidden%' OR option_name LIKE '%closedpostboxes%'" ); 
    11371141 
    11381142} 
Note: See TracChangeset for help on using the changeset viewer.