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/theme-install.php

    r44643 r45583  
    6363    _deprecated_function( __FUNCTION__, '3.1.0', 'get_theme_feature_list()' );
    6464
    65     if ( ! $cache = get_transient( 'wporg_theme_feature_list' ) ) {
     65    $cache = get_transient( 'wporg_theme_feature_list' );
     66    if ( ! $cache ) {
    6667        set_transient( 'wporg_theme_feature_list', array(), 3 * HOUR_IN_SECONDS );
    6768    }
Note: See TracChangeset for help on using the changeset viewer.