WordPress.org

Make WordPress Core

Ticket #10994: wp-admin-includes-upgrade.php.patch

File wp-admin-includes-upgrade.php.patch, 638 bytes (added by miqrogroove, 4 years ago)
  • wp-admin/includes/upgrade.php

     
    17091709        global $wp_current_db_version, $wp_db_version, $wpdb; 
    17101710 
    17111711        // Upgrade 2.9 development versions 
    1712         if ( ( $wp_current_db_version > 11557 ) && ( $wp_current_db_version < 12217 ) ) { 
     1712        if ( ( $wp_current_db_version >= 11557 ) && ( $wp_current_db_version < 12217 ) ) { 
    17131713                // Drop the option_id index. dbDelta() doesn't do the drop. 
    17141714                $wpdb->query("ALTER TABLE $wpdb->options DROP INDEX option_id"); 
    17151715