Make WordPress Core


Ignore:
Timestamp:
09/06/2023 09:31:48 AM (20 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 [56276], [56302].

Props jrf.
See #59161, #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r56276 r56521  
    186186     */
    187187    public function generic_strings() {
    188         $this->strings['bad_request']       = __( 'Invalid data provided.' );
    189         $this->strings['fs_unavailable']    = __( 'Could not access filesystem.' );
    190         $this->strings['fs_error']          = __( 'Filesystem error.' );
    191         $this->strings['fs_no_root_dir']    = __( 'Unable to locate WordPress root directory.' );
     188        $this->strings['bad_request']    = __( 'Invalid data provided.' );
     189        $this->strings['fs_unavailable'] = __( 'Could not access filesystem.' );
     190        $this->strings['fs_error']       = __( 'Filesystem error.' );
     191        $this->strings['fs_no_root_dir'] = __( 'Unable to locate WordPress root directory.' );
    192192        /* translators: %s: Directory name. */
    193193        $this->strings['fs_no_content_dir'] = sprintf( __( 'Unable to locate WordPress content directory (%s).' ), 'wp-content' );
Note: See TracChangeset for help on using the changeset viewer.