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:
Dion Hulse 2010-06-19 06:54:21 +00:00
parent 98b6ab2bb2
commit ef753d5a64
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) )