Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (7 years ago)
Author:
pento
Message:

General: Fix some precision alignment formatting warnings.

The WPCS WordPress.WhiteSpace.PrecisionAlignment rule throws warnings for a bunch of code that will likely cause issues for wpcbf. Fixing these manually beforehand gives us better auto-fixed results later.

See #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r41937 r42228  
    29742974
    29752975        if ( isset( $args['methods'] ) &&
    2976              array_diff( $args['methods'], get_class_methods( $implementation ) ) ) {
     2976            array_diff( $args['methods'], get_class_methods( $implementation ) ) ) {
     2977
    29772978            continue;
    29782979        }
     
    35013502        'remove'      => __( 'Remove' ),
    35023503        'back'        => __( 'Back' ),
    3503         /* translators: This is a would-be plural string used in the media manager.
    3504            If there is not a word you can use in your language to avoid issues with the
    3505            lack of plural support here, turn it into "selected: %d" then translate it.
     3504        /*
     3505         * translators: This is a would-be plural string used in the media manager.
     3506         * If there is not a word you can use in your language to avoid issues with the
     3507         * lack of plural support here, turn it into "selected: %d" then translate it.
    35063508         */
    35073509        'selected'    => __( '%d selected' ),
Note: See TracChangeset for help on using the changeset viewer.