diff --git a/lib/compat/wordpress-6.5/html-api/class-gutenberg-html-processor-6-5.php b/lib/compat/wordpress-6.5/html-api/class-gutenberg-html-processor-6-5.php
index fc15cc192d394..13cffa047f8e5 100644
--- a/lib/compat/wordpress-6.5/html-api/class-gutenberg-html-processor-6-5.php
+++ b/lib/compat/wordpress-6.5/html-api/class-gutenberg-html-processor-6-5.php
@@ -132,7 +132,7 @@
* @see WP_HTML_Tag_Processor
* @see https://html.spec.whatwg.org/
*/
-class Gutenberg_HTML_Processor extends Gutenberg_HTML_Tag_Processor_6_5 {
+class Gutenberg_HTML_Processor_6_5 extends Gutenberg_HTML_Tag_Processor_6_5 {
/**
* The maximum number of bookmarks allowed to exist at any given time.
*