Merge branch 'more-info-article-filter' into 'master'

Pass the value of cache_images to plugins in HOOK_ARTICLE_FILTER.

Adds the `$cache_images` value to the `$article['feed']` array before calling HOOK_ARTICLE_FILTER. Allows plugins to know whether images will be cached in case they want to manage them in one way or another.

See merge request !32
This commit is contained in:
Andrew Dolgov 2016-08-07 22:22:09 +03:00
commit 6ff51c1997

View file

@ -726,7 +726,8 @@
"language" => $entry_language, "language" => $entry_language,
"feed" => array("id" => $feed, "feed" => array("id" => $feed,
"fetch_url" => $fetch_url, "fetch_url" => $fetch_url,
"site_url" => $site_url) "site_url" => $site_url,
"cache_images" => $cache_images)
); );
$entry_plugin_data = ""; $entry_plugin_data = "";