Make WordPress Core

Changeset 10310


Ignore:
Timestamp:
01/05/2009 06:42:52 PM (15 years ago)
Author:
ryan
Message:

And instead of or. Props mercurix. fixes #8787 for 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-includes/http.php

    r10284 r10310  
    746746            return new WP_Error('http_request_failed', sprintf(__('Malformed URL: %s'), $url));
    747747
    748         if ( 'http' != $arrURL['scheme'] || 'https' != $arrURL['scheme'] )
     748        if ( 'http' != $arrURL['scheme'] && 'https' != $arrURL['scheme'] )
    749749            $url = str_replace($arrURL['scheme'], 'http', $url);
    750750
Note: See TracChangeset for help on using the changeset viewer.