Skip to content

Commit

Permalink
Remove H1-H6 tests and handling (now supported)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirreal committed Dec 18, 2023
1 parent 97bedd2 commit bca5565
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions src/wp-includes/html-api/class-wp-html-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down
6 changes: 0 additions & 6 deletions tests/phpunit/tests/html-api/wpHtmlProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ),
Expand Down

0 comments on commit bca5565

Please sign in to comment.