Skip to content
Closed
Changes from 2 commits
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
4 changes: 2 additions & 2 deletions src/wp-includes/html-api/class-wp-html-processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public function next_tag( $query = null ) {
continue;
}

if ( ! $this::is_tag_closer() || $visit_closers ) {
if ( ! $this->is_tag_closer() || $visit_closers ) {
return true;
}
}
Expand Down Expand Up @@ -463,7 +463,7 @@ public function next_tag( $query = null ) {
continue;
}

if ( ! parent::is_tag_closer() || $visit_closers ) {
if ( ! $this->is_tag_closer() || $visit_closers ) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dmsnell This came up here: #6348 (comment)

I haven't been able to come up with a failing test case for it.

return true;
}
}
Expand Down