Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove parser_state change in skip_script_data
The parser state is managed externally and should not be changed in skip_script_data
  • Loading branch information
sirreal committed Aug 6, 2025
commit b3b3177e27ce1dfbc8c73c629392b7af6b6e3f1b
2 changes: 0 additions & 2 deletions src/wp-includes/html-api/class-wp-html-tag-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1613,8 +1613,6 @@ private function skip_script_data(): bool {
}

if ( $this->bytes_already_parsed >= $doc_length ) {
$this->parser_state = self::STATE_INCOMPLETE_INPUT;

return false;
}

Expand Down