WordPress.org

Make WordPress Core

Ticket #31071: 31071-d.diff

File 31071-d.diff, 940 bytes (added by jamesmehorter, 3 years ago)

Adds an index on the post_type and post_mime_type columns

  • wp-admin/includes/schema.php

     
    187187  KEY post_name (post_name($max_index_length)),
    188188  KEY type_status_date (post_type,post_status,post_date,ID),
    189189  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))
    191192) $charset_collate;\n";
    192193
    193194        // Single site users table. The multisite flavor of the users table is handled below.
  • wp-includes/version.php

     
    1111 *
    1212 * @global int $wp_db_version
    1313 */
    14 $wp_db_version = 36686;
     14$wp_db_version = 36687;
    1515
    1616/**
    1717 * Holds the TinyMCE version