[wp-trac] [WordPress Trac] #54511: Remove cache time limitation in WP_Term_Query

WordPress Trac noreply at wordpress.org
Thu Feb 3 17:42:02 UTC 2022

#54511: Remove cache time limitation in WP_Term_Query
 Reporter:  spacedmonkey  |       Owner:  spacedmonkey
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:  6.0
Component:  Taxonomy      |     Version:  4.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  performance
Changes (by spacedmonkey):

 * status:  assigned => closed
 * resolution:   => fixed


 In [changeset:"52669" 52669]:
 #!CommitTicketReference repository="" revision="52669"
 Taxonomy: Remove cache expiry limitation in WP_Term_Query.

 Remove the one day expiry limitation from query caches found in the
 `WP_Term_Qurery` class. Removing this limitation means that the caches
 will remain in object caching, as long as possible. Ensure that all term /
 taxonomy cache clear functions invalidate query caches, by deleting the
 last_changed value in the terms cache group.

 Props spacedmonkey, adamsilverstein, boonebgorges, tillkruess, dlh,
 Fixes #54511.

Ticket URL: <https://core.trac.wordpress.org/ticket/54511#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list