[wp-trac] [WordPress Trac] #43142: Do not warm term meta cache unnecessarily (was: Do not warm term meta cache in `_get_term_hierarchy`)
WordPress Trac
noreply at wordpress.org
Sun Jan 28 22:22:56 UTC 2018
#43142: Do not warm term meta cache unnecessarily
------------------------------+--------------------------
Reporter: peterwilsoncc | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: performance
------------------------------+--------------------------
Description changed by peterwilsoncc:
Old description:
> The call to `get_terms()` in `_get_term_hierarchy()` warms the term meta
> cache for all of a taxonomy's terms unnecessarily.
New description:
A number of core functions calls to `get_terms()` warm the term meta cache
unnecessarily. Most notably, `_get_term_hierarchy()` warms the term meta
cache for all of a taxonomy's terms.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43142#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list