diff --git a/src/wp-includes/html-api/class-wp-html-processor.php b/src/wp-includes/html-api/class-wp-html-processor.php index a460c1161fcbb..6577c13136fd0 100644 --- a/src/wp-includes/html-api/class-wp-html-processor.php +++ b/src/wp-includes/html-api/class-wp-html-processor.php @@ -893,12 +893,6 @@ private function step_in_body() { case 'FORM': case 'FRAME': case 'FRAMESET': - case 'H1': - case 'H2': - case 'H3': - case 'H4': - case 'H5': - case 'H6': case 'HEAD': case 'HR': case 'HTML': diff --git a/tests/phpunit/tests/html-api/wpHtmlProcessor.php b/tests/phpunit/tests/html-api/wpHtmlProcessor.php index fe39b592cddb5..21a34490ac4d5 100644 --- a/tests/phpunit/tests/html-api/wpHtmlProcessor.php +++ b/tests/phpunit/tests/html-api/wpHtmlProcessor.php @@ -188,12 +188,6 @@ public function data_unsupported_special_in_body_tags() { array( 'FORM' ), array( 'FRAME' ), array( 'FRAMESET' ), - array( 'H1' ), - array( 'H2' ), - array( 'H3' ), - array( 'H4' ), - array( 'H5' ), - array( 'H6' ), array( 'HEAD' ), array( 'HR' ), array( 'HTML' ),