Commit 599430fa6d for wordpress.org

commit 599430fa6d935f83c97aae003144a5aecc81deec
Author: jonsurrell <jonsurrell@git.wordpress.org>
Date:   Tue Nov 3 07:31:59 2026 +0000

    HTML API: Remove redundant after_tag() call.

    `parse_next_tag()` called `after_tag()`, but its only caller, `base_class_next_token()`, already calls `after_tag()` before it.

    Developed in: https://github.com/WordPress/wordpress-develop/pull/15136

    Props jonsurrell, dmsnell, lancewillett.
    See #65984.

    Built from https://develop.svn.wordpress.org/trunk@65221


    git-svn-id: http://core.svn.wordpress.org/trunk@64370 1a063a9b-81f0-0310-95a4-ce76da25c4cd

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 cb92daa3d5..7e047c4808 100644
--- a/wp-includes/html-api/class-wp-html-tag-processor.php
+++ b/wp-includes/html-api/class-wp-html-tag-processor.php
@@ -1732,8 +1732,6 @@ class WP_HTML_Tag_Processor {
 	 * @phpstan-impure
 	 */
 	private function parse_next_tag(): bool {
-		$this->after_tag();
-
 		$html       = $this->html;
 		$doc_length = strlen( $html );
 		$was_at     = $this->bytes_already_parsed;
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 65921e9e51..c0859a7834 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-beta3-65220';
+$wp_version = '7.2-beta3-65221';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.