Ticket #31071: 31071.diff
File 31071.diff, 897 bytes (added by , 9 years ago) |
---|
-
src/wp-admin/includes/upgrade.php
527 527 // Don't harsh my mellow. upgrade_430() must be called before 528 528 // upgrade_420() to catch bad comments prior to any auto-expansion of 529 529 // MySQL column widths. 530 if ( $wp_current_db_version < 32 364)530 if ( $wp_current_db_version < 32453 ) 531 531 upgrade_430(); 532 532 533 533 if ( $wp_current_db_version < 31351 ) … … 1449 1449 function upgrade_430() { 1450 1450 global $wp_current_db_version, $wpdb; 1451 1451 1452 if ( $wp_current_db_version < 32453 ) { 1453 $wpdb->query( "ALTER TABLE $wpdb->posts ADD INDEX type_mime(post_type,post_mime_type)" ); 1454 } 1455 1452 1456 if ( $wp_current_db_version < 32364 ) { 1453 1457 $content_length = $wpdb->get_col_length( $wpdb->comments, 'comment_content' ); 1454 1458