diff --git a/wp-includes/html-api/class-wp-html-token.php b/wp-includes/html-api/class-wp-html-token.php
index f6edd52355..86dd7658cf 100644
--- a/wp-includes/html-api/class-wp-html-token.php
+++ b/wp-includes/html-api/class-wp-html-token.php
@@ -94,4 +94,13 @@ class WP_HTML_Token {
call_user_func( $this->on_destroy, $this->bookmark_name );
}
}
+
+ /**
+ * Wakeup magic method.
+ *
+ * @since 6.4.2
+ */
+ public function __wakeup() {
+ throw new \LogicException( __CLASS__ . ' should never be unserialized' );
+ }
}
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 19aeb58075..3fab07e1ee 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.5-alpha-57162';
+$wp_version = '6.5-alpha-57163';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.