summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/FeedParser.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/FeedParser.php b/inc/FeedParser.php
index 386d7c3f4..f19dcad09 100644
--- a/inc/FeedParser.php
+++ b/inc/FeedParser.php
@@ -23,6 +23,13 @@ class FeedParser extends SimplePie {
$this->enable_cache(false);
$this->set_file_class('FeedParser_File');
}
+
+ /**
+ * Backward compatibility for older plugins
+ */
+ function feed_url($url){
+ $this->set_feed_url($url);
+ }
}
/**