[wp-trac] [WordPress Trac] #29911: Deleting a term does not invalidate cache for child terms

WordPress Trac noreply at wordpress.org
Fri Oct 17 19:45:33 UTC 2014


#29911: Deleting a term does not invalidate cache for child terms
----------------------------------------+-----------------------------
 Reporter:  boonebgorges                |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Taxonomy                    |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+-----------------------------

Comment (by socki03):

 I was able to replicate the issue, and my initial tests resolved it with
 this patch resolved it.

 I noticed from the documentation, that clean_term_cache can accept an
 array of IDs, so I ran it once using the $edit_tt_ids variable instead of
 a foreach loop, as is done on the clean_post_cache.

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


More information about the wp-trac mailing list