Opened 5 days ago
Closed 5 days ago
#64881 closed defect (bug) (fixed)
Code Quality: Remove unused variable $tax in edit_term_link()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | 4.7 |
| Component: | Taxonomy | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
The usage of $tax in edit_term_link() was removed in [38698#file8].
The assignment $tax = get_taxonomy($term->taxonomy); should also be removed from this function, as it is not used.
Change History (4)
This ticket was mentioned in PR #11286 on WordPress/wordpress-develop by @Soean.
5 days ago
#1
- Keywords has-patch added
#2
@
5 days ago
- Keywords commit added
- Milestone changed from Awaiting Review to 7.0
Introduce in [15792]
Note: See
TracTickets for help on using
tickets.
This pull request makes a minor change to the
edit_term_linkfunction inlink-template.php, removing an unused variable assignment. This helps clean up the code without affecting functionality.Trac ticket: https://core.trac.wordpress.org/ticket/64881