Make WordPress Core


Ignore:
Timestamp:
07/01/2019 12:50:14 PM (5 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-ms-themes-list-table.php

    r43571 r45583  
    116116        }
    117117
    118         $maybe_update = current_user_can( 'update_themes' ) && ! $this->is_site_themes && $current = get_site_transient( 'update_themes' );
     118        $current      = get_site_transient( 'update_themes' );
     119        $maybe_update = current_user_can( 'update_themes' ) && ! $this->is_site_themes && $current;
    119120
    120121        foreach ( (array) $themes['all'] as $key => $theme ) {
Note: See TracChangeset for help on using the changeset viewer.