[wp-trac] [WordPress Trac] #55837: WP_Term_Query cache problem
WordPress Trac
noreply at wordpress.org
Thu May 26 03:36:29 UTC 2022
#55837: WP_Term_Query cache problem
--------------------------+-----------------------------
Reporter: denishua | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.0
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
when use child_of parameter in WP_Term_Query,
it return the right result first time,
it return all terms the second times when hit cache.
my test code:
{{{
wp_list_categories("child_of=2&depth=1&hide_empty=0");
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55837>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list