Make WordPress Core


Ignore:
Timestamp:
07/01/2019 12:50:14 PM (6 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-file-upload-upgrader.php

    r42343 r45583  
    100100        } else {
    101101            // Else, It's set to something, Back compat for plugins using the old (pre-3.3) File_Uploader handler.
    102             if ( ! ( ( $uploads = wp_upload_dir() ) && false === $uploads['error'] ) ) {
     102            $uploads = wp_upload_dir();
     103            if ( ! ( $uploads && false === $uploads['error'] ) ) {
    103104                wp_die( $uploads['error'] );
    104105            }
Note: See TracChangeset for help on using the changeset viewer.