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-importer.php

    r42771 r45583  
    131131            $blog_id = (int) $blog_id;
    132132        } else {
    133             $blog = 'http://' . preg_replace( '#^https?://#', '', $blog_id );
    134             if ( ( ! $parsed = parse_url( $blog ) ) || empty( $parsed['host'] ) ) {
     133            $blog   = 'http://' . preg_replace( '#^https?://#', '', $blog_id );
     134            $parsed = parse_url( $blog );
     135            if ( ! $parsed || empty( $parsed['host'] ) ) {
    135136                fwrite( STDERR, "Error: can not determine blog_id from $blog_id\n" );
    136137                exit();
Note: See TracChangeset for help on using the changeset viewer.