Skip to content

Commit 1e79075

Browse files
committed
Remove parser_state change in skip_script_data
The parser state is managed externally and should not be changed in skip_script_data
1 parent 639719a commit 1e79075

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,8 +1613,6 @@ private function skip_script_data(): bool {
16131613
}
16141614

16151615
if ( $this->bytes_already_parsed >= $doc_length ) {
1616-
$this->parser_state = self::STATE_INCOMPLETE_INPUT;
1617-
16181616
return false;
16191617
}
16201618

0 commit comments

Comments
 (0)