Make WordPress Core

Changeset 32853


Ignore:
Timestamp:
06/19/2015 03:19:06 AM (10 years ago)
Author:
dd32
Message:

Remove a redundant index drop, it'll be dropped and re-created a few lines further down.
Fixes a warning during updating from 4.0 or earlier.
Merges [32852] to the 4.2 branch. Fixes #31388 for 4.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.2/src/wp-admin/includes/upgrade.php

    r32457 r32853  
    24582458    }
    24592459
    2460     if ( $wp_current_db_version < 30133 ) {
    2461         // dbDelta() can recreate but can't drop the index.
    2462         $wpdb->query( "ALTER TABLE $wpdb->terms DROP INDEX slug" );
    2463     }
    2464 
    24652460    // Upgrade versions prior to 4.2.
    24662461    if ( $wp_current_db_version < 31351 ) {
Note: See TracChangeset for help on using the changeset viewer.