WP RSS Aggregator - Version 4.7.1

Version Description

(2015-04-23) = * Fixed bug: No warning will be thrown when fetching feeds.

Download this release

Release Info

Developer jeangalea
Plugin Icon 128x128 WP RSS Aggregator
Version 4.7.1
Comparing to
See all releases

Code changes from version 4.7 to 4.7.1

includes/feed-access.php CHANGED
@@ -39,7 +39,7 @@ class WPRSS_Feed_Access {
39
  * @since 4.7
40
  */
41
  protected function _construct() {
42
- add_action( 'wp_feed_options', array( $this, 'set_feed_options' ), 10, 2 );
43
  add_action( 'wprss_settings_array', array( $this, 'add_settings' ) );
44
  add_action( 'wprss_default_settings_general', array( $this, 'add_default_settings' ) );
45
  }
@@ -94,16 +94,14 @@ class WPRSS_Feed_Access {
94
 
95
 
96
  /**
97
- * This happens before feed initialization, but before the tags to be stripped are set.
98
- * Handles the `wp_feed_options` action.
99
- * To modify these tags, use the `wprss_feed_tags_to_strip` filter.
100
  *
101
  * @since 4.7
102
  * @param SimplePie $feed The instance of the object that represents the feed to be fetched.
103
  * @param string $url The URL, from which the feed is going to be fetched.
104
  */
105
- public function set_feed_options( $feed, $url ) {
106
- $file = new WPRSS_SimplePie_File;
107
  $feed->set_file_class( 'WPRSS_SimplePie_File' );
108
  WPRSS_SimplePie_File::set_default_certificate_file_path( $this->get_certificate_file_path() );
109
  }
39
  * @since 4.7
40
  */
41
  protected function _construct() {
42
+ add_action( 'wprss_fetch_feed_before', array( $this, 'set_feed_options' ), 10 );
43
  add_action( 'wprss_settings_array', array( $this, 'add_settings' ) );
44
  add_action( 'wprss_default_settings_general', array( $this, 'add_default_settings' ) );
45
  }
94
 
95
 
96
  /**
97
+ * This happens immediately before feed initialization.
98
+ * Handles the `wprss_fetch_feed_before` action.
 
99
  *
100
  * @since 4.7
101
  * @param SimplePie $feed The instance of the object that represents the feed to be fetched.
102
  * @param string $url The URL, from which the feed is going to be fetched.
103
  */
104
+ public function set_feed_options( $feed ) {
 
105
  $feed->set_file_class( 'WPRSS_SimplePie_File' );
106
  WPRSS_SimplePie_File::set_default_certificate_file_path( $this->get_certificate_file_path() );
107
  }
includes/feed-importing.php CHANGED
@@ -275,9 +275,13 @@
275
  // Strip them
276
  $feed->strip_htmltags( $tags_to_strip );
277
 
 
 
278
  // Fetch the feed
279
  $feed->init();
280
  $feed->handle_content_type();
 
 
281
 
282
  // Convert the feed error into a WP_Error, if applicable
283
  if ( $feed->error() ) {
275
  // Strip them
276
  $feed->strip_htmltags( $tags_to_strip );
277
 
278
+ do_action( 'wprss_fetch_feed_before', $feed );
279
+
280
  // Fetch the feed
281
  $feed->init();
282
  $feed->handle_content_type();
283
+
284
+ do_action( 'wprss_fetch_feed_after', $feed );
285
 
286
  // Convert the feed error into a WP_Error, if applicable
287
  if ( $feed->error() ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Plugin URI: http://www.wprssaggregator.com
4
  Tags: rss, feeds, aggregation, rss to post, autoblog aggregator, rss import, feed aggregator, rss aggregator, multiple rss feeds, multi rss feeds, rss multi importer, feed import, feed import, multiple feed import, feed aggregation, rss feader, feed reader, feed to post, multiple feeds, multi feed importer, multi feed import, multi import, autoblogging, autoblogger, rss feeder, rss post importer, autoblog aggregator, autoblog, autopost, content curation, feedwordpress, wp rss multi import, hungryfeed, wp-o-matic, rss feed, rss feed to post, rss retriever, syndication
5
  Requires at least: 3.3
6
  Tested up to: 4.1
7
- Stable tag: 4.7
8
  License: GPLv2 or later
9
  The no.1 RSS feed importer for WordPress. Premium add-ons available for more functionality.
10
 
@@ -169,6 +169,9 @@ The full documentation section can be found on the [WP RSS Aggregator website](w
169
 
170
  == Changelog ==
171
 
 
 
 
172
  = 4.7 (2015-04-21) =
173
  * New: Optionally import only items with titles that don't already exist.
174
  * Enhanced: Accessing feeds over HTTPS is now possible.
4
  Tags: rss, feeds, aggregation, rss to post, autoblog aggregator, rss import, feed aggregator, rss aggregator, multiple rss feeds, multi rss feeds, rss multi importer, feed import, feed import, multiple feed import, feed aggregation, rss feader, feed reader, feed to post, multiple feeds, multi feed importer, multi feed import, multi import, autoblogging, autoblogger, rss feeder, rss post importer, autoblog aggregator, autoblog, autopost, content curation, feedwordpress, wp rss multi import, hungryfeed, wp-o-matic, rss feed, rss feed to post, rss retriever, syndication
5
  Requires at least: 3.3
6
  Tested up to: 4.1
7
+ Stable tag: 4.7.1
8
  License: GPLv2 or later
9
  The no.1 RSS feed importer for WordPress. Premium add-ons available for more functionality.
10
 
169
 
170
  == Changelog ==
171
 
172
+ = 4.7.1 (2015-04-23) =
173
+ * Fixed bug: No warning will be thrown when fetching feeds.
174
+
175
  = 4.7 (2015-04-21) =
176
  * New: Optionally import only items with titles that don't already exist.
177
  * Enhanced: Accessing feeds over HTTPS is now possible.
wp-rss-aggregator.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP RSS Aggregator
4
  Plugin URI: http://www.wprssaggregator.com
5
  Description: Imports and aggregates multiple RSS Feeds using SimplePie
6
- Version: 4.7
7
  Author: Jean Galea
8
  Author URI: http://www.wprssaggregator.com
9
  License: GPLv2
@@ -29,7 +29,7 @@
29
 
30
  /**
31
  * @package WPRSSAggregator
32
- * @version 4.7
33
  * @since 1.0
34
  * @author Jean Galea <info@wprssaggregator.com>
35
  * @copyright Copyright (c) 2012-2015, Jean Galea
@@ -43,7 +43,7 @@
43
 
44
  // Set the version number of the plugin.
45
  if( !defined( 'WPRSS_VERSION' ) )
46
- define( 'WPRSS_VERSION', '4.7', true );
47
 
48
  // Set the database version number of the plugin.
49
  if( !defined( 'WPRSS_DB_VERSION' ) )
3
  Plugin Name: WP RSS Aggregator
4
  Plugin URI: http://www.wprssaggregator.com
5
  Description: Imports and aggregates multiple RSS Feeds using SimplePie
6
+ Version: 4.7.1
7
  Author: Jean Galea
8
  Author URI: http://www.wprssaggregator.com
9
  License: GPLv2
29
 
30
  /**
31
  * @package WPRSSAggregator
32
+ * @version 4.7.1
33
  * @since 1.0
34
  * @author Jean Galea <info@wprssaggregator.com>
35
  * @copyright Copyright (c) 2012-2015, Jean Galea
43
 
44
  // Set the version number of the plugin.
45
  if( !defined( 'WPRSS_VERSION' ) )
46
+ define( 'WPRSS_VERSION', '4.7.1', true );
47
 
48
  // Set the database version number of the plugin.
49
  if( !defined( 'WPRSS_DB_VERSION' ) )