remove from usermeta table in r14212, see #13032
git-svn-id: http://svn.automattic.com/wordpress/trunk@14213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3c2369c8d7
commit
4b0484781c
|
@ -1136,8 +1136,8 @@ function upgrade_300() {
|
||||||
$wpdb->update( $wpdb->postmeta, array( 'meta_value' => '' ), array( 'meta_key' => '_menu_item_target', 'meta_value' => '_self' ) );
|
$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
|
// 3.0-beta metabox changes. can be removed before release. // r13551
|
||||||
if ( $wp_current_db_version >= 13309 && $wp_current_db_version < 14139 )
|
if ( ( !is_multisite() || is_main_site() ) && $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%'" );
|
$wpdb->query( "DELETE FROM $wpdb->usermeta WHERE meta_key LIKE '{$wpdb->base_prefix}%meta-box-hidden%' OR meta_key LIKE '{$wpdb->base_prefix}%closedpostboxes%'" );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue