WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/17/2011 07:48:34 AM (9 years ago)
Author:
westi
Message:

Don't do SSL discovery for every RSD request. APP endpoint already respects the SSLness of the site. Fixes #15960.

File:
1 edited

Legend:

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

    r17637 r17642  
    33243324
    33253325/**
    3326  * Secure URL, if available or the given URL.
    3327  *
    3328  * @since 2.5.0
    3329  *
    3330  * @param string $url Complete URL path with transport.
    3331  * @return string Secure or regular URL path.
    3332  */
    3333 function atom_service_url_filter($url)
    3334 {
    3335     if ( url_is_accessable_via_ssl($url) )
    3336         return preg_replace( '/^http:\/\//', 'https://',  $url );
    3337     else
    3338         return $url;
    3339 }
    3340 
    3341 /**
    33423326 * Marks a function as deprecated and informs when it has been used.
    33433327 *
Note: See TracChangeset for help on using the changeset viewer.