[wp-trac] [WordPress Trac] #58599: WP_Query->get_posts: cache updated also when query is set to be not cacheable
WordPress Trac
noreply at wordpress.org
Fri Aug 4 13:44:08 UTC 2023
#58599: WP_Query->get_posts: cache updated also when query is set to be not
cacheable
--------------------------+-----------------------------
Reporter: saulirajala | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version: 6.2.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses: performance
--------------------------+-----------------------------
Changes (by saulirajala):
* version: 6.2 => 6.2.2
Comment:
Replying to [comment:9 spacedmonkey]:
> What do you think of this code snippet @peterwilsoncc @saulirajala ?
To my mind this seems to be a good solution. It fixes the original issue I
was having with persisted object cache.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58599#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list