[wp-trac] [WordPress Trac] #36907: Improved sticky post query
WordPress Trac
noreply at wordpress.org
Wed Mar 23 10:37:25 UTC 2022
#36907: Improved sticky post query
---------------------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.0
Component: Query | Version: 3.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: performance
---------------------------------------------+---------------------------
Changes (by spacedmonkey):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"52982" 52982]:
{{{
#!CommitTicketReference repository="" revision="52982"
Query: Improved sticky post query
Ensure that the parameters `update_post_meta_cache`,
`update_post_term_cache`, `cache_results`, `suppress_filters` and
`lazy_load_term_meta` that are passed to WP_Query, are also passed down to
the secondary query used to get sticky
posts.
Props Spacedmonkey, peterwilsoncc, rehanali, uday17035.
Fixes #36907.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36907#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list