Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #34012


Ignore:
Timestamp:
02/23/2021 11:03:22 AM (4 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34012

    • Property Keywords has-patch needs-testing has-unit-tests added
    • Property Owner set to whyisjake
    • Property Status changed from new to accepted
    • Property Milestone changed from to 5.8
  • Ticket #34012 – Description

    initial v5  
    1 The current post_exists() function in wp-admin/includes/post.php generates a poorly performing query (makes use of no indexes) This is basically a mirror issue to https://core.trac.wordpress.org/ticket/33871 for all the same reasons.
     1The current post_exists() function in wp-admin/includes/post.php generates a poorly performing query (makes use of no indexes) This is basically a mirror issue to #33871 for all the same reasons.
    22
    33The fix is a little bit different because post_date_gmt is actually not indexed and post_date is deep inside of a compound index...