diff --git a/wp-includes/html-api/class-wp-html-processor.php b/wp-includes/html-api/class-wp-html-processor.php
index 6b0879cde8..dd8e8d5f2d 100644
--- a/wp-includes/html-api/class-wp-html-processor.php
+++ b/wp-includes/html-api/class-wp-html-processor.php
@@ -548,7 +548,7 @@ class WP_HTML_Processor extends WP_HTML_Tag_Processor {
$this->state->current_token = new WP_HTML_Token(
$this->bookmark_tag(),
$this->get_tag(),
- $this->is_tag_closer(),
+ $this->has_self_closing_flag(),
$this->release_internal_bookmark_on_destruct
);
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 66c797520f..dcfb1865cb 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.5-alpha-57527';
+$wp_version = '6.5-alpha-57528';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.