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-theme-upgrader-skin.php

    r43598 r45583  
    4242
    4343        $update_actions = array();
    44         if ( ! empty( $this->upgrader->result['destination_name'] ) && $theme_info = $this->upgrader->theme_info() ) {
     44        $theme_info     = $this->upgrader->theme_info();
     45        if ( $theme_info ) {
    4546            $name       = $theme_info->display( 'Name' );
    4647            $stylesheet = $this->upgrader->result['destination_name'];
Note: See TracChangeset for help on using the changeset viewer.