diff --git a/functions.php b/functions.php index ece96d14..7c6e1d4e 100644 --- a/functions.php +++ b/functions.php @@ -1942,7 +1942,7 @@ $feed_link = trim(preg_replace("/^feed:/", "", $feed_link)); # check for feed://URL - if (strstr($feed_link, "//") == 0) { + if (strpos($feed_link, "//") === 0) { $feed_link = "http:$feed_link"; }