[wp-trac] [WordPress Trac] #61456: Taxonomy: Unused variable in `wp_set_object_terms()`

WordPress Trac noreply at wordpress.org
Tue Jun 18 02:37:08 UTC 2024


#61456: Taxonomy: Unused variable in `wp_set_object_terms()`
--------------------------+-----------------------------
 Reporter:  dlh           |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  2.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In [5982], a call to `clean_term_cache()` was removed from
 `wp_set_object_terms()`. Since then, the `$term_ids` array that had been
 passed to `clean_term_cache()` has been populated inside one of the
 `foreach` loops but never used.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61456>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list