Actually return a url if SSL is not supported! Relates to #5298
git-svn-id: https://develop.svn.wordpress.org/trunk@6340 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fcd2063365
commit
2ab598e809
|
@ -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