[wp-trac] [WordPress Trac] #21760: get_term_by() calls are not cached
WordPress Trac
noreply at wordpress.org
Tue Dec 16 19:06:17 UTC 2014
#21760: get_term_by() calls are not cached
------------------------------------------+-----------------------------
Reporter: wonderboymusic | Owner: wonderboymusic
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.1
Component: Taxonomy | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch commit fixed-major | Focuses:
------------------------------------------+-----------------------------
Comment (by johnbillion):
In [changeset:"30914"]:
{{{
#!CommitTicketReference repository="" revision="30914"
Remove caching for `get_term_by()` calls.
The new cache group scheme causes term invalidation to be overly broad, so
that busting the cache for one term will bust the cache for all terms in
the
taxonomy. We'll have another go at more focused use of the 'last_changed'
incrementor in a future release.
Reverts [29915], [30073], [30080], [30108], [30112].
Merges [30900] to the 4.1 branch.
See #21760.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/21760#comment:80>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list