summaryrefslogtreecommitdiff
path: root/classes/feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-08-20 12:12:32 +0300
committerAndrew Dolgov <[email protected]>2018-08-20 12:12:32 +0300
commit2aef804f4b2cee7baf569f707eb74c27005d7daa (patch)
treedf0fde6d09857421cb0084e144a4f8e7edde2e2b /classes/feeds.php
parentc5c3a0a2a8febaa2b1ebcae6c17ff4398a9da6c7 (diff)
split transparent rewriting of locally cached media URLs to execute after both sanitize() and HOOK_RENDER_ARTICLE to allow plugins work on original source URLs consistently
Diffstat (limited to 'classes/feeds.php')
-rwxr-xr-xclasses/feeds.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/feeds.php b/classes/feeds.php
index 47a6b56b8..6bf14f45e 100755
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -477,6 +477,8 @@ class Feeds extends Handler_Protected {
$line = $p->hook_render_article_cdm($line);
}
+ $line['content'] = rewrite_cached_urls($line['content']);
+
if ($vfeed_group_enabled && $line["feed_title"]) {
if ($feed_id != $vgroup_last_feed) {