From 6eb8d32d9640b1dae136baf7719dee0006bf34ed Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 1 Apr 2011 17:20:54 +0400 Subject: [PATCH] update_rss_feed: block pubsub subscription requests when CURL is not available --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 46502cd1..026ea575 100644 --- a/functions.php +++ b/functions.php @@ -797,7 +797,7 @@ } } - if ($feed_hub_url) { + if ($feed_hub_url && function_exists('curl_init')) { $callback_url = get_self_url_prefix() . "/backend.php?op=pubsub&id=$feed"; -- 2.39.5