diff --git a/wp-includes/html-api/class-wp-html-processor.php b/wp-includes/html-api/class-wp-html-processor.php
index a3bcb57032..b91c244887 100644
--- a/wp-includes/html-api/class-wp-html-processor.php
+++ b/wp-includes/html-api/class-wp-html-processor.php
@@ -2433,6 +2433,7 @@ class WP_HTML_Processor extends WP_HTML_Tag_Processor {
}
$this->state->stack_of_open_elements->remove_node( $node );
+ return true;
} else {
/*
* > If the stack of open elements does not have a form element in scope,
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 80d31d7dce..8b9e5a0aa6 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.7-beta3-59247';
+$wp_version = '6.7-beta3-59248';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.