Skip to content

Commit 288b952

Browse files
committed
Add details to "other" failure to escape comment
1 parent a3e0e27 commit 288b952

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3883,7 +3883,8 @@ static function ( $matches ) {
38833883
);
38843884
} else {
38853885
/*
3886-
* Other types of script tags cannot be escaped safely.
3886+
* Other types of script tags cannot be escaped safely because the type
3887+
* of comment and escaping strategy are unknown.
38873888
*/
38883889
return false;
38893890
}

0 commit comments

Comments
 (0)