Actually return a url if SSL is not supported! Relates to #5298
git-svn-id: http://svn.automattic.com/wordpress/trunk@6340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b296c5f19e
commit
15f67c97f9
|
@ -1515,5 +1515,7 @@ function atom_service_url_filter($url)
|
||||||
{
|
{
|
||||||
if ( url_is_accessable_via_ssl($url) )
|
if ( url_is_accessable_via_ssl($url) )
|
||||||
return preg_replace( '/^http:\/\//', 'https://', $url );
|
return preg_replace( '/^http:\/\//', 'https://', $url );
|
||||||
|
else
|
||||||
|
return $url;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue