From 7ac7e1b5e1251e7c9c7bd79082a4faa50c6d218c Mon Sep 17 00:00:00 2001
From: vgfitzger <vfitzgeral@usatoday.com>
Date: Thu, 10 Apr 2014 15:24:06 -0700
Subject: [PATCH] Pass the simple pie item along to the filter to grab
 additional data

---
 includes/class-syndication-wp-rss-client.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/class-syndication-wp-rss-client.php b/includes/class-syndication-wp-rss-client.php
index 2fe97f6..c986afb 100644
--- a/includes/class-syndication-wp-rss-client.php
+++ b/includes/class-syndication-wp-rss-client.php
@@ -180,7 +180,7 @@ class Syndication_WP_RSS_Client extends SimplePie implements Syndication_Client
                 'post_guid'         => $item->get_id()
             );
 			// This filter can be used to exclude or alter posts during a pull import
-			$post = apply_filters( 'syn_rss_pull_filter_post', $post, $args );
+			$post = apply_filters( 'syn_rss_pull_filter_post', $post, $args, $item );
 			if ( false === $post )
 				continue;
 			$posts[] = $post;
-- 
GitLab