Changeset 20080 for trunk/wp-admin/includes/upgrade.php
- Timestamp:
- 03/02/2012 08:13:35 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/upgrade.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/upgrade.php
r20023 r20080 458 458 upgrade_330(); 459 459 460 if ( $wp_current_db_version < 200 22)460 if ( $wp_current_db_version < 20080 ) 461 461 upgrade_340(); 462 462 … … 1153 1153 } 1154 1154 1155 // 3.3-beta. Can remove before release.1156 if ( $wp_current_db_version > 18715 && $wp_current_db_version < 193891157 && is_main_site() && ! defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) )1158 delete_metadata( 'user', 0, 'dismissed_wp_pointers', '', true );1159 1160 1155 if ( $wp_current_db_version >= 11548 ) 1161 1156 return; … … 1237 1232 if ( $wp_current_db_version < 20022 && is_main_site() && ! defined( 'DO_NOT_UPGRADE_GLOBAL_TABLES' ) ) { 1238 1233 $wpdb->query( "DELETE FROM $wpdb->usermeta WHERE meta_key = 'themes_last_view'" ); 1234 } 1235 1236 if ( $wp_current_db_version < 20080 ) { 1237 if ( 'yes' == $wpdb->get_var( "SELECT autoload FROM $wpdb->options WHERE option_name = 'uninstall_plugins'" ) ) { 1238 $uninstall_plugins = get_option( 'uninstall_plugins' ); 1239 delete_option( 'uninstall_plugins' ); 1240 add_option( 'uninstall_plugins', $uninstall_plugins, null, 'no' ); 1241 } 1239 1242 } 1240 1243 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)