Changeset 30134
- Timestamp:
- 11/01/2014 01:10:04 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r30121 r30134 442 442 if ( $wp_current_db_version < 29630 ) 443 443 upgrade_400(); 444 445 if ( $wp_current_db_version < 30056 )446 upgrade_410();447 444 448 445 maybe_disable_link_manager(); … … 1333 1330 1334 1331 /** 1335 * Execute changes made in WordPress 4.1.0.1336 *1337 * @since 4.1.01338 */1339 function upgrade_410() {1340 global $wp_current_db_version, $wpdb;1341 if ( $wp_current_db_version < 30056 ) {1342 add_clean_index( $wpdb->terms, 'slug' );1343 }1344 }1345 1346 /**1347 1332 * Execute network level changes 1348 1333 * … … 2206 2191 } 2207 2192 } 2193 2194 if ( $wp_current_db_version < 30133 ) { 2195 // dbDelta() can recreate but can't drop the index. 2196 $wpdb->query( "ALTER TABLE $wpdb->terms DROP INDEX slug" ); 2197 } 2208 2198 } 2209 2199 -
trunk/src/wp-includes/version.php
r30121 r30134 12 12 * @global int $wp_db_version 13 13 */ 14 $wp_db_version = 30 056;14 $wp_db_version = 30133; 15 15 16 16 /**
Note: See TracChangeset
for help on using the changeset viewer.