Fix typo in HTTP Class. Props filosofo. Fixes #13897 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@15284 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
98b6ab2bb2
commit
ef753d5a64
|
@ -240,7 +240,7 @@ class WP_Http {
|
|||
|
||||
$arrURL = parse_url($url);
|
||||
|
||||
if ( empty( $url ) || empty($url['scheme'] ) )
|
||||
if ( empty( $url ) || empty( $arrURL['scheme'] ) )
|
||||
return new WP_Error('http_request_failed', __('A valid URL was not provided.'));
|
||||
|
||||
if ( $this->block_request( $url ) )
|
||||
|
|
Loading…
Reference in New Issue