Fix logic

git-svn-id: http://svn.automattic.com/wordpress/trunk@15143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-06-04 20:11:06 +00:00
parent bdd183d1eb
commit b39e28ec1b
1 changed files with 1 additions and 1 deletions

View File

@ -1171,7 +1171,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'];