mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 23:27:39 +02:00
Fix typo in HTTP Class. Props filosofo. Fixes #13897 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@15284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
10fc874c10
commit
b55852aad0
@ -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
Block a user