Ticket #19935: 19935.2.diff
| File 19935.2.diff, 1.7 KB (added by , 14 years ago) |
|---|
-
wp-includes/version.php
11 11 * 12 12 * @global int $wp_db_version 13 13 */ 14 $wp_db_version = 1979 8;14 $wp_db_version = 19799; 15 15 16 16 /** 17 17 * Holds the TinyMCE version -
wp-admin/includes/upgrade.php
459 459 if ( $wp_current_db_version < 19389 ) 460 460 upgrade_330(); 461 461 462 if ( $wp_current_db_version < 1979 3)462 if ( $wp_current_db_version < 19799 ) 463 463 upgrade_340(); 464 464 465 465 maybe_disable_automattic_widgets(); … … 1224 1224 function upgrade_340() { 1225 1225 global $wp_current_db_version, $wpdb; 1226 1226 1227 $wpdb->hide_errors(); 1228 $wpdb->query( "ALTER TABLE $wpdb->options DROP COLUMN blog_id" ); 1229 $wpdb->show_errors(); 1230 } 1231 1227 if ( $wp_current_db_version < 19798 ) { 1228 $wpdb->hide_errors(); 1229 $wpdb->query( "ALTER TABLE $wpdb->options DROP COLUMN blog_id" ); 1230 $wpdb->show_errors(); 1231 } 1232 } 1233 1232 1234 /** 1233 1235 * Execute network level changes 1234 1236 * -
wp-admin/includes/schema.php
103 103 comment_parent bigint(20) unsigned NOT NULL default '0', 104 104 user_id bigint(20) unsigned NOT NULL default '0', 105 105 PRIMARY KEY (comment_ID), 106 KEY comment_approved (comment_approved),107 106 KEY comment_post_ID (comment_post_ID), 108 107 KEY comment_approved_date_gmt (comment_approved,comment_date_gmt), 109 108 KEY comment_date_gmt (comment_date_gmt),