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

git-svn-id: https://develop.svn.wordpress.org/trunk@17642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2011-04-17 07:48:34 +00:00
parent 6b0bf6cd72
commit 462cb55ef4
3 changed files with 1 additions and 20 deletions

View File

@@ -3322,22 +3322,6 @@ function url_is_accessable_via_ssl($url)
return false;
}
/**
* Secure URL, if available or the given URL.
*
* @since 2.5.0
*
* @param string $url Complete URL path with transport.
* @return string Secure or regular URL path.
*/
function atom_service_url_filter($url)
{
if ( url_is_accessable_via_ssl($url) )
return preg_replace( '/^http:\/\//', 'https://', $url );
else
return $url;
}
/**
* Marks a function as deprecated and informs when it has been used.
*