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

WordPress Trac noreply at wordpress.org
Wed Jun 15 21:10:24 UTC 2022

#55837: WP_Term_Query cache problem
 Reporter:  denishua                             |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.0.1
Component:  Taxonomy                             |     Version:  6.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests fixed-      |     Focuses:
  major                                          |

Comment (by xParham):

 I am running into similar caching issues with `WP_Term_Query` on 6.0,
 specifically when using the `exclude_tree` argument to filter the results.
 It works fine for the first run, but then all the subsequent runs of the
 same query return ''no results'', and basically makes some functions
 unusable. Does this patch already fix the issue with the `exclude_tree`
 parameter too? or do I need to create a new bug report?

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

More information about the wp-trac mailing list