Skip to content

Commit c93d8c2

Browse files
committed
Remove H1-H6 tests and handling (now supported)
1 parent 250582b commit c93d8c2

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/wp-includes/html-api/class-wp-html-processor.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -893,12 +893,6 @@ private function step_in_body() {
893893
case 'FORM':
894894
case 'FRAME':
895895
case 'FRAMESET':
896-
case 'H1':
897-
case 'H2':
898-
case 'H3':
899-
case 'H4':
900-
case 'H5':
901-
case 'H6':
902896
case 'HEAD':
903897
case 'HR':
904898
case 'HTML':

tests/phpunit/tests/html-api/wpHtmlProcessor.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,6 @@ public function data_unsupported_special_in_body_tags() {
188188
array( 'FORM' ),
189189
array( 'FRAME' ),
190190
array( 'FRAMESET' ),
191-
array( 'H1' ),
192-
array( 'H2' ),
193-
array( 'H3' ),
194-
array( 'H4' ),
195-
array( 'H5' ),
196-
array( 'H6' ),
197191
array( 'HEAD' ),
198192
array( 'HR' ),
199193
array( 'HTML' ),

0 commit comments

Comments
 (0)