Ticket #18315: patch.diff
File patch.diff, 720 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/upgrade.php
451 451 if ( $wp_current_db_version < 15260 ) 452 452 upgrade_300(); 453 453 454 if ( $wp_current_db_version < 18227 ) 455 upgrade_322(); 456 454 457 maybe_disable_automattic_widgets(); 455 458 456 459 update_option( 'db_version', $wp_db_version ); … … 1147 1150 } 1148 1151 1149 1152 /** 1153 * Execute changes made in WordPress 3.2.2. 1154 * 1155 * @since 3.2.2 1156 */ 1157 function upgrade_322() { 1158 global $wpdb; 1159 1160 // add index to GUID column 1161 add_clean_index( $wpdb->posts, 'guid' ); 1162 } 1163 1164 /** 1150 1165 * Execute network level changes 1151 1166 * 1152 1167 * @since 3.0.0