[wp-trac] [WordPress Trac] #64038: Cache miss for `WP_Term_Query`
WordPress Trac
noreply at wordpress.org
Mon Sep 29 23:55:03 UTC 2025
#64038: Cache miss for `WP_Term_Query`
--------------------------+-----------------------------
Reporter: Chouby | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
--------------------------+-----------------------------
Changes (by westonruter):
* keywords: => needs-patch
Comment:
@Chouby ok, I was confused because in the description you said the args
used to not be included:
> In the past, the cache key used to be computed based on arguments passed
to `get_terms()`. It's now [https://github.com/WordPress/wordpress-
develop/blob/6.8.2/src/wp-includes/class-wp-term-query.php#L1174 a
combination of these arguments and the SQL statement]. Maybe using only
the sql statement would be sufficient.
Maybe I misunderstood.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64038#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list