HOOK_ARTICLE_IMAGE: allow hooks to modify article content

This commit is contained in:
Andrew Dolgov 2019-08-15 10:22:33 +03:00
parent 75ab1f05f9
commit 5648b836aa
1 changed files with 1 additions and 1 deletions

View File

@ -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) {