From f73e03e000d7119b8c9724790e70e4da4fb32cfe Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 2 Sep 2013 10:03:04 +0400 Subject: [PATCH] pass feed information to article filters --- include/rssfuncs.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index dbe5c8bc..2bc30b5c 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -644,7 +644,11 @@ "tags" => $entry_tags, "plugin_data" => $entry_plugin_data, "author" => $entry_author, - "stored" => $stored_article); + "stored" => $stored_article, + "feed" => array("id" => $feed, + "fetch_url" => $fetch_url, + "site_url" => $site_url) + ); foreach ($pluginhost->get_hooks(PluginHost::HOOK_ARTICLE_FILTER) as $plugin) { $article = $plugin->hook_article_filter($article); -- 2.39.5