remove alpha-beta1 metabox preferences from options table, see #13032
git-svn-id: https://develop.svn.wordpress.org/trunk@14212 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
62a7cce4f3
commit
9091ff9cb9
|
@ -1135,6 +1135,10 @@ function upgrade_300() {
|
|||
if ( $wp_current_db_version >= 13802 && $wp_current_db_version < 13974 )
|
||||
$wpdb->update( $wpdb->postmeta, array( 'meta_value' => '' ), array( 'meta_key' => '_menu_item_target', 'meta_value' => '_self' ) );
|
||||
|
||||
// 3.0-beta metabox changes. can be removed before release. // r13551
|
||||
if ( $wp_current_db_version >= 13309 && $wp_current_db_version < 14139 )
|
||||
$wpdb->query( "DELETE FROM $wpdb->options WHERE option_name LIKE '%meta-box-hidden%' OR option_name LIKE '%closedpostboxes%'" );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue