[wp-trac] [WordPress Trac] #36907: Improved sticky post query

WordPress Trac noreply at wordpress.org
Tue Mar 22 05:00:36 UTC 2022


#36907: Improved sticky post query
----------------------------------------+---------------------------
 Reporter:  spacedmonkey                |       Owner:  spacedmonkey
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  6.0
Component:  Query                       |     Version:  3.5
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  performance
----------------------------------------+---------------------------

Comment (by peterwilsoncc):

 [attachment:"36907.patch"] looks good to me.

 Not to self so I don't look it up again, `get_posts()` has `no_found_rows`
 set already so it's not needed here.

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


More information about the wp-trac mailing list