[wp-trac] [WordPress Trac] #36881: Improved hot-wiring of set_found_posts

WordPress Trac noreply at wordpress.org
Wed May 18 22:45:24 UTC 2016


#36881: Improved hot-wiring of set_found_posts
--------------------------+-----------------------------
 Reporter:  spacedmonkey  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+-----------------------------
 Currently you can filter posts_request and posts_result to hot wiring the
 query object add caching. However, this means that in many cases the set
 found posts method then never gets called. This means that found posts is
 un-filterable. The set found posts needs to be called after the post
 results filter.

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


More information about the wp-trac mailing list