Changeset 58190
- Timestamp:
- 05/23/2024 10:43:27 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/html-api/class-wp-html-processor.php
r57806 r58190 387 387 } 388 388 389 $needs_class = ( isset( $query['class_name'] ) && is_string( $query['class_name'] ) ) 390 ? $query['class_name'] 391 : null; 392 389 393 if ( ! ( array_key_exists( 'breadcrumbs', $query ) && is_array( $query['breadcrumbs'] ) ) ) { 390 394 while ( $this->step() ) { 391 395 if ( '#tag' !== $this->get_token_type() ) { 396 continue; 397 } 398 399 if ( isset( $needs_class ) && ! $this->has_class( $needs_class ) ) { 392 400 continue; 393 401 } … … 415 423 while ( $match_offset > 0 && $this->step() ) { 416 424 if ( '#tag' !== $this->get_token_type() ) { 425 continue; 426 } 427 428 if ( isset( $needs_class ) && ! $this->has_class( $needs_class ) ) { 417 429 continue; 418 430 }
Note: See TracChangeset
for help on using the changeset viewer.