Changeset 58364
- Timestamp:
- 06/08/2024 11:10:58 AM (12 months ago)
- Location:
- trunk/src/wp-includes/html-api
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r58363 r58364 544 544 if ( 545 545 WP_HTML_Stack_Event::POP === $this->current_element->operation && 546 ! static::expects_closer( $this->current_element->token ->node_name)546 ! static::expects_closer( $this->current_element->token ) 547 547 ) { 548 548 return $this->next_token(); -
trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php
r58281 r58364 2266 2266 * @return int How many bytes the given pointer moved in response to the updates. 2267 2267 */ 2268 private function apply_attributes_updates( $shift_this_point = 0) {2268 private function apply_attributes_updates( $shift_this_point ) { 2269 2269 if ( ! count( $this->lexical_updates ) ) { 2270 2270 return 0; … … 2788 2788 return '#funky-comment'; 2789 2789 } 2790 2791 return null; 2790 2792 } 2791 2793 … … 3196 3198 * be necessary for reparsing the current tag after updating the HTML. 3197 3199 */ 3198 $before_current_tag = $this->token_starts_at ;3200 $before_current_tag = $this->token_starts_at ?? 0; 3199 3201 3200 3202 /*
Note: See TracChangeset
for help on using the changeset viewer.