Make WordPress Core


Ignore:
Timestamp:
07/20/2023 12:04:33 AM (10 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Correct equals sign alignment in various files.

This resolves a few WPCS warnings:

Equals sign not aligned with surrounding statements

so that the output of composer format is clean.

Follow-up to [55971], [56033], [56056], [56143], [56214].

Props jrf.
See #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php

    r55988 r56273  
    392392
    393393        if ( is_subdomain_install() ) {
    394             $abbr = __( 'Domain' );
     394            $blogname_abbr        = __( 'Domain' );
    395395            $blogname_orderby_text = __( 'Table ordered by Site Domain Name.' );
    396396        } else {
    397             $abbr = __( 'Path' );
     397            $blogname_abbr        = __( 'Path' );
    398398            $blogname_orderby_text = __( 'Table ordered by Site Path.' );
    399399        }
    400400
    401401        return array(
    402             'blogname'    => array( 'blogname', false, $abbr, $blogname_orderby_text ),
     402            'blogname'    => array( 'blogname', false, $blogname_abbr, $blogname_orderby_text ),
    403403            'lastupdated' => array( 'lastupdated', true, __( 'Last Updated' ), __( 'Table ordered by Last Updated.' ) ),
    404404            'registered'  => array( 'blog_id', true, _x( 'Registered', 'site' ), __( 'Table ordered by Site Registered Date.' ), 'desc' ),
Note: See TracChangeset for help on using the changeset viewer.