Actualizacion 7.1.2
This commit is contained in:
@@ -3988,7 +3988,7 @@ class WP_HTML_Tag_Processor {
|
||||
self::COMMENT_AS_HTML_COMMENT === $this->comment_type
|
||||
) {
|
||||
// Check if the text could close the comment.
|
||||
if ( 1 === preg_match( '/--!?>/', $plaintext_content ) ) {
|
||||
if ( 1 === preg_match( '/^-?>|--!?>/', $plaintext_content ) ) {
|
||||
_doing_it_wrong(
|
||||
__METHOD__,
|
||||
__( 'Comment text cannot contain a comment closer.' ),
|
||||
|
||||
Reference in New Issue
Block a user