Fix typo in HTTP Class. Props filosofo. Fixes #13897 for 3.0
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
99372b016c
commit
f14336d795
|
@ -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