WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/01/2019 12:50:14 PM (22 months 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/plugin-install.php

    r45563 r45583  
    161161
    162162        $http_url = $url;
    163         if ( $ssl = wp_http_supports( array( 'ssl' ) ) ) {
     163        $ssl      = wp_http_supports( array( 'ssl' ) );
     164        if ( $ssl ) {
    164165            $url = set_url_scheme( $url, 'https' );
    165166        }
     
    239240 */
    240241function install_popular_tags( $args = array() ) {
    241     $key = md5( serialize( $args ) );
    242     if ( false !== ( $tags = get_site_transient( 'poptags_' . $key ) ) ) {
     242    $key  = md5( serialize( $args ) );
     243    $tags = get_site_transient( 'poptags_' . $key );
     244    if ( false !== $tags ) {
    243245        return $tags;
    244246    }
Note: See TracChangeset for help on using the changeset viewer.