Permalink
Browse files

SyndicatedPost / ok I declared that fwp_channel and fwp_feedmeta were…

… deprecated a good 6+ years ago, probably they can go out now.
  • Loading branch information...
radgeek committed Mar 31, 2016
1 parent fb11197 commit 1a5f16fc8385bb9de7b7954bef0584b5a6d2ed16
Showing with 0 additions and 15 deletions.
  1. +0 −15 syndicatedpost.class.php
View
@@ -86,21 +86,6 @@ function __construct ($item, &$source) {
// Fucking SimplePie.
$this->xmlns['reverse']['rss'][] = '';
# These globals were originally an ugly kludge around a bug in
# apply_filters from WordPress 1.5. The bug was fixed in 1.5.1,
# and I sure hope at this point that nobody writing filters for
# FeedWordPress is still relying on them.
#
# Anyway, I hereby declare them DEPRECATED as of 8 February
# 2010. I'll probably remove the globals within 1-2 releases in
# the interests of code hygiene and memory usage. If you
# currently use them in your filters, I advise you switch off to
# accessing the public members SyndicatedPost::feed and
# SyndicatedPost::feedmeta.
global $fwp_channel, $fwp_feedmeta;
$fwp_channel = $this->feed; $fwp_feedmeta = $this->feedmeta;
// Trigger global syndicated_item filter.
$changed = apply_filters('syndicated_item', $this->item, $this);
$this->item = $changed;

0 comments on commit 1a5f16f

Please sign in to comment.