Make WordPress Core


Ignore:
Timestamp:
06/19/2015 03:17:12 AM (9 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.
Fixes #31388 for trunk

File:
1 edited

Legend:

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

    r32819 r32852  
    26212621    }
    26222622
    2623     if ( $wp_current_db_version < 30133 ) {
    2624         // dbDelta() can recreate but can't drop the index.
    2625         $wpdb->query( "ALTER TABLE $wpdb->terms DROP INDEX slug" );
    2626     }
    2627 
    26282623    // Upgrade versions prior to 4.2.
    26292624    if ( $wp_current_db_version < 31351 ) {
Note: See TracChangeset for help on using the changeset viewer.