Make WordPress Core

Changeset 10309


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/http.php

    r10294 r10309  
    768768            return new WP_Error('http_request_failed', sprintf(__('Malformed URL: %s'), $url));
    769769
    770         if ( 'http' != $arrURL['scheme'] || 'https' != $arrURL['scheme'] )
     770        if ( 'http' != $arrURL['scheme'] && 'https' != $arrURL['scheme'] )
    771771            $url = str_replace($arrURL['scheme'], 'http', $url);
    772772
Note: See TracChangeset for help on using the changeset viewer.