Fix logic

git-svn-id: http://svn.automattic.com/wordpress/branches/2.9@15144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-06-04 20:12:12 +00:00
parent ea39c30737
commit d55565eba9
1 changed files with 1 additions and 1 deletions

View File

@ -1135,7 +1135,7 @@ class WP_Http_ExtHTTP {
$arrURL = parse_url($url);
if ( 'http' != $arrURL['scheme'] || 'https' != $arrURL['scheme'] )
if ( 'http' != $arrURL['scheme'] && 'https' != $arrURL['scheme'] )
$url = preg_replace('|^' . preg_quote($arrURL['scheme'], '|') . '|', 'http', $url);
$is_local = isset($args['local']) && $args['local'];