WordPress.org

Make WordPress Core

Ticket #27324: 71.diff

File 71.diff, 626 bytes (added by NAPPA, 7 years ago)

diff of the change required in : schema

  • wp-admin/includes/schema.php

    diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php
    index 8ce72d1..c8bfe54 100644
    a b function wp_get_db_schema( $scope = 'all', $blog_id = null ) { 
    165165  KEY post_name (post_name),
    166166  KEY type_status_date (post_type,post_status,post_date,ID),
    167167  KEY post_parent (post_parent),
    168   KEY post_author (post_author)
     168  KEY post_author (post_author),
     169  KEY status_type_author (post_status,post_type,post_author)
    169170) $charset_collate;\n";
    170171
    171172        // Single site users table. The multisite flavor of the users table is handled below.