mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Check DB ver 12217. see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6189a6fce2
commit
4e09fd327c
@ -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 < 12204 ) ) {
|
||||
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