WordPress.org

Make WordPress Core

Ticket #15499: new-keys.diff

File new-keys.diff, 569 bytes (added by simonwheatley, 5 years ago)

New indexes for wp_posts

  • wp-admin/includes/schema.php

     
    146146  PRIMARY KEY  (ID), 
    147147  KEY post_name (post_name), 
    148148  KEY type_status_date (post_type,post_status,post_date,ID), 
     149  KEY type_status_date_no_id (post_type,post_status,post_date_gmt), 
     150  KEY type_status_modified (post_type,post_status,post_modified_gmt), 
    149151  KEY post_parent (post_parent), 
    150152  KEY post_author (post_author) 
    151153) $charset_collate;