From a999cdbaf923459a0d38a7c9a0c940c2ba55076c Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 25 Jun 2024 08:53:21 +0000 Subject: [PATCH] HTML API: Remove unused `$tag_name` variable in `WP_HTML_Tag_Processor::set_attribute`. Follow-up to [58472], [58473]. Props davidbinda. Fixes #61494. Built from https://develop.svn.wordpress.org/trunk@58559 git-svn-id: http://core.svn.wordpress.org/trunk@58007 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/html-api/class-wp-html-tag-processor.php | 1 - wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/html-api/class-wp-html-tag-processor.php b/wp-includes/html-api/class-wp-html-tag-processor.php index 4ed0c28136..8fc75938c9 100644 --- a/wp-includes/html-api/class-wp-html-tag-processor.php +++ b/wp-includes/html-api/class-wp-html-tag-processor.php @@ -2972,7 +2972,6 @@ class WP_HTML_Tag_Processor { if ( true === $value ) { $updated_attribute = $name; } else { - $tag_name = $this->get_tag(); $comparable_name = strtolower( $name ); /* diff --git a/wp-includes/version.php b/wp-includes/version.php index 48c1f2fd0b..4bc031e6d4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta4-58558'; +$wp_version = '6.6-beta4-58559'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.