Make WordPress Core

Opened 22 months ago

Last modified 22 months ago

#36881 new enhancement

Improved hot-wiring of set_found_posts

Reported by: spacedmonkey Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Query Keywords: has-patch needs-unit-tests
Focuses: performance Cc:


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)

36881.patch (2.4 KB) - added by spacedmonkey 22 months ago.

Download all attachments as: .zip

Change History (4)

#1 @spacedmonkey
22 months ago

  • Keywords has-patch has-unit-tests added

#2 @spacedmonkey
22 months ago

  • Keywords needs-unit-tests added; has-unit-tests removed
Note: See TracTickets for help on using tickets.