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

WordPress Trac noreply at wordpress.org
Tue Jun 18 04:00:32 UTC 2024


#61456: Taxonomy: Unused variable in `wp_set_object_terms()`
------------------------------+---------------------
 Reporter:  dlh               |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.6
Component:  Taxonomy          |     Version:  2.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------
Description changed by costdev:

Old description:

> 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.

New description:

 In [5983], 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#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list