Make WordPress Core


Ignore:
Timestamp:
11/05/2022 09:59:35 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Revert [54752] from the 6.1 branch.

This was supposed to be committed to trunk.

See #56791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/6.1/src/wp-includes/block-template-utils.php

    r54752 r54753  
    557557    );
    558558
    559     $args = array(
     559    $args  = array(
    560560        'name' => $slug,
    561561    );
    562     $args = wp_parse_args( $args, $default_args );
    563 
     562    $args  = wp_parse_args( $args, $default_args );
    564563    $posts_query = new WP_Query( $args );
    565564
     
    593592        'title' => $post_title,
    594593    );
    595     $args = wp_parse_args( $args, $default_args );
    596 
     594    $args                        = wp_parse_args( $args, $default_args );
    597595    $posts_with_same_title_query = new WP_Query( $args );
    598596
     
    633631    $term_query = new WP_Term_Query();
    634632
    635     $args = array(
     633    $args  = array(
    636634        'number' => 1,
    637635        'slug'   => $slug,
    638636    );
    639     $args = wp_parse_args( $args, $default_args );
    640 
     637    $args        = wp_parse_args( $args, $default_args );
    641638    $terms_query = $term_query->query( $args );
    642639
     
    672669        'name'   => $term_title,
    673670    );
    674     $args = wp_parse_args( $args, $default_args );
    675 
     671    $args                        = wp_parse_args( $args, $default_args );
    676672    $terms_with_same_title_query = $term_query->query( $args );
    677673
Note: See TracChangeset for help on using the changeset viewer.