[wp-trac] [WordPress Trac] #57416: Do not split query if requesting one post

WordPress Trac noreply at wordpress.org
Sun Jul 2 21:25:59 UTC 2023


#57416: Do not split query if requesting one post
----------------------------------------+-----------------------------
 Reporter:  spacedmonkey                |       Owner:  spacedmonkey
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  Future Release
Component:  Query                       |     Version:  3.0
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:  performance
----------------------------------------+-----------------------------
Changes (by mkox):

 * Attachment "57416.diff" added.

 Patch checks for post per page == 1 before splitting the query

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57416>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list