[wp-trac] [WordPress Trac] #55837: WP_Term_Query cache problem

WordPress Trac noreply at wordpress.org
Thu May 26 03:41:18 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        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by denishua):

 I think the WP_Term_Query get_terms method only handle $term_objects, but
 forgot $terms variable when deal with child_of parameter.

 the fast way fix the problem is  move  line 891 before line 890

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55837#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list