Make WordPress Core


Ignore:
Timestamp:
07/01/2019 12:50:14 PM (7 years ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin.

See #47632.

File:
1 edited

Legend:

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

    r45412 r45583  
    100100                foreach ( $vcs_dirs as $vcs_dir ) {
    101101                        foreach ( $check_dirs as $check_dir ) {
    102                                 if ( $checkout = @is_dir( rtrim( $check_dir, '\\/' ) . "/$vcs_dir" ) ) {
     102                                $checkout = @is_dir( rtrim( $check_dir, '\\/' ) . "/$vcs_dir" );
     103                                if ( $checkout ) {
    103104                                        break 2;
    104105                                }
Note: See TracChangeset for help on using the changeset viewer.