WordPress.org

Make WordPress Core

Changeset 6340


Ignore:
Timestamp:
11/17/2007 11:27:01 AM (11 years ago)
Author:
westi
Message:

Actually return a url if SSL is not supported! Relates to #5298

File:
1 edited

Legend:

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

    r6339 r6340  
    15161516    if ( url_is_accessable_via_ssl($url) )
    15171517        return  preg_replace( '/^http:\/\//', 'https://',  $url );
     1518    else
     1519        return $url;
    15181520}
    15191521?>
Note: See TracChangeset for help on using the changeset viewer.