#61456 closed defect (bug) (fixed)
Taxonomy: Unused variable in `wp_set_object_terms()`
| Reported by: | dlh | Owned by: | costdev |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.6 |
| Component: | Taxonomy | Version: | 2.3 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
2 years ago
#1
- Keywords has-patch added
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi there!
Thanks for the patch!
Look good to me and ready for commit for 6.6