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-wp-filesystem-ssh2.php

    r45424 r45583  
    222222        }
    223223
    224         if ( ! ( $stream = ssh2_exec( $this->link, $command ) ) ) {
     224        $stream = ssh2_exec( $this->link, $command );
     225        if ( ! $stream ) {
    225226            $this->errors->add(
    226227                'command',
Note: See TracChangeset for help on using the changeset viewer.