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

WordPress Trac noreply at wordpress.org
Thu Jun 23 10:32:11 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 davelo):

 We have 3 cases around the terms caching introduced in WP6.0, mainly when
 it's about bigger queries (seems like) on big WooCommerce shops. On daily
 basis, the subcategories on category pages (of shop page) are
 disappearing. Mostly on shops that use parent and subcategories, but only
 check the subcategorie when they add products. So, therefore it seems like
 the "parent" category is empty.

 A manual recount terms (a setting in WooCommerce) must be done, daily
 since a few weeks.

 Been investigating it for weeks. Finally found this ticket. Hopefully the
 solution will be rolled out quickly. Thanks!

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


More information about the wp-trac mailing list