WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (17 months ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r45580 r45590  
    927927        }
    928928
    929         if ( ! $url_parts = wp_parse_url( $url ) ) {
     929        $url_parts = wp_parse_url( $url );
     930        if ( ! $url_parts ) {
    930931            return $maybe_relative_path;
    931932        }
    932933
    933         if ( ! $relative_url_parts = wp_parse_url( $maybe_relative_path ) ) {
     934        $relative_url_parts = wp_parse_url( $maybe_relative_path );
     935        if ( ! $relative_url_parts ) {
    934936            return $maybe_relative_path;
    935937        }
Note: See TracChangeset for help on using the changeset viewer.