#61456 closed defect (bug) (fixed)
Taxonomy: Unused variable in `wp_set_object_terms()`
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.6 | Priority: | normal |
| Severity: | normal | Version: | 2.3 |
| Component: | Taxonomy | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description (last modified by )
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.
Change History (6)
This ticket was mentioned in PR #6846 on WordPress/wordpress-develop by @dlh.
18 months ago
#1
- Keywords has-patch added
Note: See
TracTickets for help on using
tickets.
Hi there!
Thanks for the patch!
Look good to me and ready for commit for 6.6