Fix db version logic error. Props miqrogroove. fixes #10994
git-svn-id: https://develop.svn.wordpress.org/trunk@12232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
42a3082c21
commit
4f7906aced
@ -1709,7 +1709,7 @@ function pre_schema_upgrade() {
|
||||
global $wp_current_db_version, $wp_db_version, $wpdb;
|
||||
|
||||
// Upgrade 2.9 development versions
|
||||
if ( ( $wp_current_db_version > 11557 ) && ( $wp_current_db_version < 12217 ) ) {
|
||||
if ( ( $wp_current_db_version >= 11557 ) && ( $wp_current_db_version < 12217 ) ) {
|
||||
// Drop the option_id index. dbDelta() doesn't do the drop.
|
||||
$wpdb->query("ALTER TABLE $wpdb->options DROP INDEX option_id");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user