Make WordPress Core


Ignore:
Timestamp:
11/05/2022 05:28:48 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Correct alignment in various files.

This fixes Equals sign not aligned with surrounding statements WPCS warnings, so that the output of composer format is clean.

Follow-up to [54445], [54476], [54494], [54522], [54652], [54687].

See #56791.

File:
1 edited

Legend:

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

    r54494 r54752  
    557557    );
    558558
    559     $args  = array(
     559    $args = array(
    560560        'name' => $slug,
    561561    );
    562     $args  = wp_parse_args( $args, $default_args );
     562    $args = wp_parse_args( $args, $default_args );
     563
    563564    $posts_query = new WP_Query( $args );
    564565
     
    592593        'title' => $post_title,
    593594    );
    594     $args                        = wp_parse_args( $args, $default_args );
     595    $args = wp_parse_args( $args, $default_args );
     596
    595597    $posts_with_same_title_query = new WP_Query( $args );
    596598
     
    631633    $term_query = new WP_Term_Query();
    632634
    633     $args  = array(
     635    $args = array(
    634636        'number' => 1,
    635637        'slug'   => $slug,
    636638    );
    637     $args        = wp_parse_args( $args, $default_args );
     639    $args = wp_parse_args( $args, $default_args );
     640
    638641    $terms_query = $term_query->query( $args );
    639642
     
    669672        'name'   => $term_title,
    670673    );
    671     $args                        = wp_parse_args( $args, $default_args );
     674    $args = wp_parse_args( $args, $default_args );
     675
    672676    $terms_with_same_title_query = $term_query->query( $args );
    673677
Note: See TracChangeset for help on using the changeset viewer.