From 364e3c859d7d6c039438533f3f04939778509cef Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 4 Apr 2011 13:42:14 +0400 Subject: [PATCH] generate_syndicated_feed: only enable pubsub hub for published feed --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 67edc578..3ed2a196 100644 --- a/functions.php +++ b/functions.php @@ -3665,7 +3665,7 @@ $tpl->setVariable('VERSION', VERSION); $tpl->setVariable('FEED_URL', htmlspecialchars($feed_self_url)); - if (PUBSUBHUBBUB_HUB) { + if (PUBSUBHUBBUB_HUB && $feed == -2) { $tpl->setVariable('HUB_URL', htmlspecialchars(PUBSUBHUBBUB_HUB)); $tpl->addBlock('feed_hub'); } -- 2.39.5