Changeset 18552
- Timestamp:
- 08/16/2011 02:26:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r18531 r18552 1122 1122 if ( $wp_current_db_version < 14139 && is_multisite() && is_main_site() && ! defined( 'MULTISITE' ) && get_site_option( 'siteurl' ) === false ) 1123 1123 add_site_option( 'siteurl', '' ); 1124 1125 // 3.0-alpha nav menu postmeta changes. can be removed before release. // r138021126 if ( $wp_current_db_version >= 13226 && $wp_current_db_version < 13974 )1127 $wpdb->query( "DELETE FROM $wpdb->postmeta WHERE meta_key IN( 'menu_type', 'object_id', 'menu_new_window', 'menu_link', '_menu_item_append', 'menu_item_append', 'menu_item_type', 'menu_item_object_id', 'menu_item_target', 'menu_item_classes', 'menu_item_xfn', 'menu_item_url' )" );1128 1129 // 3.0-beta1 remove_user primitive->meta cap. can be removed before release. r139561130 if ( $wp_current_db_version >= 12751 && $wp_current_db_version < 13974 ) {1131 $role =& get_role( 'administrator' );1132 if ( ! empty( $role ) )1133 $role->remove_cap( 'remove_user' );1134 }1135 1136 // 3.0-beta1 nav menu postmeta changes. can be removed before release. r139741137 if ( $wp_current_db_version >= 13802 && $wp_current_db_version < 13974 )1138 $wpdb->update( $wpdb->postmeta, array( 'meta_value' => '' ), array( 'meta_key' => '_menu_item_target', 'meta_value' => '_self' ) );1139 1124 1140 1125 // 3.0 screen options key name changes.
Note: See TracChangeset
for help on using the changeset viewer.