- Timestamp:
- 11/12/2024 10:30:26 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-open-elements.php
r58992 r59391 521 521 } 522 522 523 if ( 'context-node' === $item->bookmark_name ) {524 $this->stack[] = $item;525 return false;526 }527 528 523 $this->after_element_pop( $item ); 529 524 return true; … … 586 581 */ 587 582 public function remove_node( WP_HTML_Token $token ): bool { 588 if ( 'context-node' === $token->bookmark_name ) {589 return false;590 }591 592 583 foreach ( $this->walk_up() as $position_from_end => $item ) { 593 584 if ( $token->bookmark_name !== $item->bookmark_name ) {
Note: See TracChangeset
for help on using the changeset viewer.