From 2ab598e8096fafb3a0791037a483ded6e87f7f48 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Sat, 17 Nov 2007 11:27:01 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index ff531ff793..6a2e9e715d 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1515,5 +1515,7 @@ function atom_service_url_filter($url) { if ( url_is_accessable_via_ssl($url) ) return preg_replace( '/^http:\/\//', 'https://', $url ); + else + return $url; } ?>