[wp-trac] [WordPress Trac] #52710: Taxonomy: Make it possible to bypass automatic caching of results in `get_terms()`
WordPress Trac
noreply at wordpress.org
Sun Jan 23 21:50:16 UTC 2022
#52710: Taxonomy: Make it possible to bypass automatic caching of results in
`get_terms()`
----------------------------------------+------------------------------
Reporter: dlh | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 2.3
Severity: normal | Resolution:
Keywords: needs-unit-tests has-patch | Focuses: performance
----------------------------------------+------------------------------
Comment (by peterwilsoncc):
For sites wishing to avoid the issue you describe, a one line plugin
`wp_cache_add_non_persistent_groups( 'terms' )` may achieve the same
thing.
@dlh are you able to let me know if I am missing something?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52710#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list