WordPress.org

Make WordPress Core

Changeset 14213


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

remove from usermeta table in r14212, see #13032

File:
1 edited

Legend:

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

    r14212 r14213  
    11371137 
    11381138    // 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%'" ); 
     1139    if ( ( !is_multisite() || is_main_site() ) && $wp_current_db_version >= 13309 && $wp_current_db_version < 14139 ) 
     1140        $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 
    11421142} 
Note: See TracChangeset for help on using the changeset viewer.