diff --git src/wp-admin/includes/upgrade.php src/wp-admin/includes/upgrade.php
index cb53d2f..c96ad42 100644
|
|
|
function pre_schema_upgrade() {
|
| 2630 | 2630 | } |
| 2631 | 2631 | |
| 2632 | 2632 | // Upgrade versions prior to 4.4. |
| 2633 | | if ( $wp_current_db_version < 34370 ) { |
| 2634 | | // If compatible termmeta table is found, use it, but enforce a proper index. |
| | 2633 | if ( $wp_current_db_version < 34976 ) { |
| | 2634 | // If compatible termmeta table is found, use it, but enforce a proper index and update collation. |
| 2635 | 2635 | if ( $wpdb->get_var( "SHOW TABLES LIKE '{$wpdb->termmeta}'" ) && $wpdb->get_results( "SHOW INDEX FROM {$wpdb->termmeta} WHERE Column_name = 'meta_key'" ) ) { |
| 2636 | 2636 | $wpdb->query( "ALTER TABLE $wpdb->termmeta DROP INDEX meta_key, ADD INDEX meta_key(meta_key(191))" ); |
| | 2637 | maybe_convert_table_to_utf8mb4( $wpdb->termmeta ); |
| 2637 | 2638 | } |
| 2638 | 2639 | } |
| 2639 | 2640 | } |
diff --git src/wp-includes/version.php src/wp-includes/version.php
index f245e1f..cafa299 100644
|
|
|
$wp_version = '4.4-alpha-33636-src';
|
| 11 | 11 | * |
| 12 | 12 | * @global int $wp_db_version |
| 13 | 13 | */ |
| 14 | | $wp_db_version = 34903; |
| | 14 | $wp_db_version = 34976; |
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Holds the TinyMCE version |