WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/26/2017 11:56:25 PM (20 months 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-admin/includes/class-wp-filesystem-base.php

    r41161 r42228  
    383383
    384384        for ( $i = 0, $c = count( $attarray ); $i < $c; $i++ ) {
    385            if ($key = array_search($attarray[$i], $legal)) {
    386                $realmode .= $legal[$key];
    387            }
     385            if ($key = array_search($attarray[$i], $legal)) {
     386                $realmode .= $legal[$key];
     387            }
    388388        }
    389389
Note: See TracChangeset for help on using the changeset viewer.