Changeset 14726
- Timestamp:
- 05/18/2010 03:30:05 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r14705 r14726 441 441 upgrade_290(); 442 442 443 if ( $wp_current_db_version < 14 595)443 if ( $wp_current_db_version < 14726 ) 444 444 upgrade_300(); 445 445 … … 1136 1136 $wpdb->update( $wpdb->postmeta, array( 'meta_value' => '' ), array( 'meta_key' => '_menu_item_target', 'meta_value' => '_self' ) ); 1137 1137 1138 // 3.0-beta metabox changes. can be removed before release . // r135511139 if ( ( !is_multisite() || is_main_site() ) && $wp_current_db_version >= 13309 && $wp_current_db_version < 14 595) {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 ) { 1140 1140 $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%'" ); 1142 1142 } 1143 1143 -
trunk/wp-includes/version.php
r14697 r14726 16 16 * @global int $wp_db_version 17 17 */ 18 $wp_db_version = 14 651;18 $wp_db_version = 14726; 19 19 20 20 /**
Note: See TracChangeset
for help on using the changeset viewer.