Changeset 54753 for branches/6.1/src/wp-includes/block-template-utils.php
- Timestamp:
- 11/05/2022 09:59:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1/src/wp-includes/block-template-utils.php
r54752 r54753 557 557 ); 558 558 559 $args = array(559 $args = array( 560 560 'name' => $slug, 561 561 ); 562 $args = wp_parse_args( $args, $default_args ); 563 562 $args = wp_parse_args( $args, $default_args ); 564 563 $posts_query = new WP_Query( $args ); 565 564 … … 593 592 'title' => $post_title, 594 593 ); 595 $args = wp_parse_args( $args, $default_args ); 596 594 $args = wp_parse_args( $args, $default_args ); 597 595 $posts_with_same_title_query = new WP_Query( $args ); 598 596 … … 633 631 $term_query = new WP_Term_Query(); 634 632 635 $args = array(633 $args = array( 636 634 'number' => 1, 637 635 'slug' => $slug, 638 636 ); 639 $args = wp_parse_args( $args, $default_args ); 640 637 $args = wp_parse_args( $args, $default_args ); 641 638 $terms_query = $term_query->query( $args ); 642 639 … … 672 669 'name' => $term_title, 673 670 ); 674 $args = wp_parse_args( $args, $default_args ); 675 671 $args = wp_parse_args( $args, $default_args ); 676 672 $terms_with_same_title_query = $term_query->query( $args ); 677 673
Note: See TracChangeset
for help on using the changeset viewer.