[wp-trac] [WordPress Trac] #61494: Unused $tag_name variable in WP_HTML_Tag_Processor::set_attribute

WordPress Trac noreply at wordpress.org
Tue Jun 25 07:48:07 UTC 2024


#61494: Unused $tag_name variable in WP_HTML_Tag_Processor::set_attribute
--------------------------+-----------------------------
 Reporter:  david.binda   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTML API      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61494>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list