diff options
author | Andrew Dolgov <[email protected]> | 2016-08-07 22:22:09 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-08-07 22:22:09 +0300 |
commit | 6ff51c19978872cc6561f575389f187ce8fa7a12 (patch) | |
tree | f9500406ea8164369c96d9bf9765c3ad3e58ec57 /include | |
parent | 3b4d9619e90659c16225595a4bbe9b1e6610eb43 (diff) | |
parent | babfadbfd245ae8752ba379d594e5c158762a606 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/rssfuncs.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 21ffcbb76..522e4bf22 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -726,7 +726,8 @@ "language" => $entry_language, "feed" => array("id" => $feed, "fetch_url" => $fetch_url, - "site_url" => $site_url) + "site_url" => $site_url, + "cache_images" => $cache_images) ); $entry_plugin_data = ""; |