Opened 9 years ago
Last modified 11 months ago
#36881 assigned enhancement
Improved hot-wiring of set_found_posts
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Query | Keywords: | has-patch needs-unit-tests |
Focuses: | performance | Cc: |
Description
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.
Attachments (1)
Change History (7)
This ticket was mentioned in PR #6529 on WordPress/wordpress-develop by @pbearne.
11 months ago
#4
Note: See
TracTickets for help on using
tickets.
Related: #36687