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

WordPress Trac noreply at wordpress.org
Thu Nov 16 12:35:24 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 has-patch dev-        |     Focuses:
  feedback needs-testing needs-unit-tests        |  performance
  needs-refresh                                  |
-------------------------------------------------+-------------------------

Comment (by darthhexx):

 I refreshed the patch, but also changed the implementation a little from
 the original, in that it doesn't skip over the filter. Also added unit
 tests.

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


More information about the wp-trac mailing list