From 5648b836aa22425e2f5dd22c3c0d2082c197dc5c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 15 Aug 2019 10:22:33 +0300 Subject: [PATCH] HOOK_ARTICLE_IMAGE: allow hooks to modify article content --- classes/article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/article.php b/classes/article.php index 599f12021..943528f2a 100755 --- a/classes/article.php +++ b/classes/article.php @@ -829,7 +829,7 @@ class Article extends Handler_Protected { $article_stream = ""; foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_IMAGE) as $p) { - list ($article_image, $article_stream) = $p->hook_article_image($enclosures, $content, $site_url); + list ($article_image, $article_stream, $content) = $p->hook_article_image($enclosures, $content, $site_url); } if (!$article_image && !$article_stream) {