Make WordPress Core

Ticket #46784: 46784.patch

File 46784.patch, 457 bytes (added by thrijith, 5 years ago)
  • src/wp-includes/class-wp-http-proxy.php

     
    174174                $check = @parse_url( $uri );
    175175
    176176                // Malformed URL, can not process, but this could mean ssl, so let through anyway.
    177                 if ( $check === false ) {
     177                if ( false === $check ) {
    178178                        return true;
    179179                }
    180180