Skip to content

Commit 551bddc

Browse files
committed
HTML API: Remove unused $tag_name variable in WP_HTML_Tag_Processor::set_attribute.
Follow-up to [58472], [58473]. Props davidbinda. Fixes #61494. git-svn-id: https://develop.svn.wordpress.org/trunk@58559 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 5655fb0 commit 551bddc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wp-includes/html-api/class-wp-html-tag-processor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2972,7 +2972,6 @@ public function set_attribute( $name, $value ) {
29722972
if ( true === $value ) {
29732973
$updated_attribute = $name;
29742974
} else {
2975-
$tag_name = $this->get_tag();
29762975
$comparable_name = strtolower( $name );
29772976

29782977
/*

0 commit comments

Comments
 (0)