Ticket #31071: 31071-fix-wp_enqueue_media-performance.patch
File 31071-fix-wp_enqueue_media-performance.patch, 1.4 KB (added by , 9 years ago) |
---|
-
src/wp-admin/includes/schema.php
187 187 KEY post_name (post_name($max_index_length)), 188 188 KEY type_status_date (post_type,post_status,post_date,ID), 189 189 KEY post_parent (post_parent), 190 KEY post_author (post_author) 190 KEY post_author (post_author), 191 KEY post_type_mime_type (post_type, post_mime_type(10)) 191 192 ) $charset_collate;\n"; 192 193 193 194 // Single site users table. The multisite flavor of the users table is handled below. -
src/wp-includes/media.php
3213 3213 " ); 3214 3214 $months = $wpdb->get_results( $wpdb->prepare( " 3215 3215 SELECT DISTINCT YEAR( post_date ) AS year, MONTH( post_date ) AS month 3216 FROM $wpdb->posts 3216 FROM $wpdb->posts IGNORE INDEX (post_type_mime_type) 3217 3217 WHERE post_type = %s 3218 3218 ORDER BY post_date DESC 3219 3219 ", 'attachment' ) ); -
src/wp-includes/version.php
11 11 * 12 12 * @global int $wp_db_version 13 13 */ 14 $wp_db_version = 357 00;14 $wp_db_version = 35769; 15 15 16 16 /** 17 17 * Holds the TinyMCE version