#61494 closed defect (bug) (fixed)
Unused $tag_name variable in WP_HTML_Tag_Processor::set_attribute
Reported by: | david.binda | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | minor | Version: | 6.6 |
Component: | HTML API | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
After r58473 there is an unused $tag_name
variable in WP_HTML_Tag_Processor::set_attribute
. https://core.trac.wordpress.org/browser/trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php?rev=58473#L2975
The variable was introduced in r58472 but the follow-up r58473 made it unused.
The issue only affects trunk, not the 6.5 branch where the variable does not exist.
Attachments (1)
Change History (6)
#1
@
4 months ago
- Keywords has-patch added
- Milestone changed from Awaiting Review to 6.6
- Owner set to audrasjb
- Severity changed from normal to minor
- Status changed from new to accepted
This ticket was mentioned in PR #6898 on WordPress/wordpress-develop by @narenin.
4 months ago
#3
Trac ticket: https://core.trac.wordpress.org/ticket/61494
@audrasjb commented on PR #6898:
4 months ago
#5
Thanks for the PR but we already had a patch for this.
https://core.trac.wordpress.org/attachment/ticket/61494/61494.diff
Note: See
TracTickets for help on using
tickets.
Thanks for spotting this!
Moving to 6.6.