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-posts-list-table.php

    r55971 r56273  
    765765
    766766        if ( 'page' === $post_type ) {
    767             $title_orderby_text = isset( $_GET['orderby'] ) ? __( 'Table ordered by Title.' ) : __( 'Table ordered by Hierarchical Menu Order and Title.' );
     767            if ( isset( $_GET['orderby'] ) ) {
     768                $title_orderby_text = __( 'Table ordered by Title.' );
     769            } else {
     770                $title_orderby_text = __( 'Table ordered by Hierarchical Menu Order and Title.' );
     771            }
     772
    768773            $sortables = array(
    769774                'title'    => array( 'title', false, __( 'Title' ), $title_orderby_text, 'asc' ),
Note: See TracChangeset for help on using the changeset viewer.