diff options
author | Andrew Dolgov <[email protected]> | 2019-08-15 10:22:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-15 10:22:33 +0300 |
commit | 5648b836aa22425e2f5dd22c3c0d2082c197dc5c (patch) | |
tree | 205796e56003fd29ae88f6b6b7f47a60678e0be7 /classes/article.php | |
parent | 75ab1f05f91af697bf559503e44ecb836d853c55 (diff) |
HOOK_ARTICLE_IMAGE: allow hooks to modify article content
Diffstat (limited to 'classes/article.php')
-rwxr-xr-x | classes/article.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |