- Timestamp:
- 01/28/2025 02:46:18 PM (11 months ago)
- Location:
- branches/6.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/html-api/class-wp-html-open-elements.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.7
-
branches/6.7/src/wp-includes/html-api/class-wp-html-open-elements.php
r58992 r59721 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.