From 4f7906aced9f7d1c91f7e09e1bc3ee8b8a5b3386 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 19 Nov 2009 22:53:03 +0000 Subject: [PATCH] Fix db version logic error. Props miqrogroove. fixes #10994 git-svn-id: https://develop.svn.wordpress.org/trunk@12232 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index dd6bc04960..b572b84b60 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -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");