WP RSS Aggregator - Version 4.0.7

Version Description

(2014-03-08) = * Fixed bug: The plugin prevented uploading of header images.

Download this release

Release Info

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

Code changes from version 4.0.6 to 4.0.7

changelog.txt DELETED
@@ -1,258 +0,0 @@
1
- 4.0.6 (2014-03-05)
2
- Fixed bug: Hook change in last version suspected reason for some installations having non-updated feed items.
3
-
4
- 4.0.5 (2014-03-03)
5
- New Feature: Time ago added as an option.
6
- Enhanced: The plugin now allows the use of RSS and Atom feeds that do not specify the correct MIME type.
7
- Enhanced: Better performance due to better hook usage.
8
- Fixed bug: Facebook page feed URL conversion was not being triggered for new feed sources.
9
- Fixed bug: Styles fix for pagination.
10
- Fixed bug: Removed empty spaces in logging.
11
-
12
- 4.0.4 (2014-02-22)
13
- Enhanced: Added Activate/Pause bulk actions in the Feed Sources page.
14
- Enhanced: Feed Sources page table has been re-designed.
15
- Enhanced: Logging is now site dependant on multisite.
16
- Fixed bug: Undefined display settings where appearing on the front end.
17
-
18
- 4.0.3 (2014-02-12)
19
- Fixed bug: The general setting for deleting feed items by age was not working.
20
-
21
- 4.0.2 (2014-02-10)
22
- Enhanced: Added a filter to change the html tags allowed in feed item content.
23
-
24
- 4.0.1 (2014-02-08)
25
- Fixed bug: Empty array of feed items bug caused importing problems.
26
-
27
- 4.0 (2014-02-04)
28
- Enhanced: Improved some internal queries, for better performance.
29
- Fixed bug: Feed limits were not working properly.
30
-
31
- 3.9.9 (2014-02-03)
32
- Enhanced: The custom feed can now be extended by add-ons.
33
-
34
- 3.9.8 (2014-01-20)
35
- Fixed bug: Removed excessive logging from Debugging Error Log.
36
-
37
- 3.9.7 (2014-01-17)
38
- Fixed bug: Bug in admin-debugging.php causing trouble with admin login
39
-
40
- 3.9.6 (2014-01-17)
41
- Enhanced: Added error logging.
42
-
43
- 3.9.5 (2014-01-02)
44
- Enhanced: Added a feed validator link in the New/Edit Feed Sources page.
45
- Enhanced: The Next Update column also shows the time remaining for next update, for feed source on the global update interval.
46
- Enhanced: The custom feed has been improved, and is now identical to the feeds displayed with the shortcode.
47
- Enhanced: License notifications only appear on the main site when using WordPress multisite.
48
- Enhanced: Updated Colorbox script to 1.4.33
49
- Fixed bug: The Imported Items column was always showing zero.
50
- Fixed bug: Feed items not being imported with limit set to zero. Should be unlimited.
51
- Fixed bug: Broken display template if titles are not linked and no source and date are displayed.
52
- Fixed bug: Fat header in Feed Sources page
53
-
54
- 3.9.4 (2013-12-24)
55
- Enhanced: Added a column in the Feed Sources page that shows the number of feed items imported for each feed source.
56
- Fixed bug: Leaving the delete old feed items empty did not ignore the delete.
57
-
58
- 3.9.3 (2013-12-23)
59
- Fixed bug: Fixed tracking pointer appearing on saving settings.
60
-
61
- 3.9.2 (2013-12-21)
62
- Fixed bug: Incorrect file include call.
63
-
64
- 3.9.1 (2013-12-21)
65
- Enhanced: Improved date and time handling for imported feed items.
66
- Fixed bug: Incorrect values being shown in the Feed Processing metabox.
67
- Fixed bug: Feed limits set to zero were causing feeds to not be imported.
68
-
69
- 3.9 (2013-12-12)
70
- New Feature: Feed sources can have their own update interval.
71
- New Feature: The time remaining until the next update has been added to the Feed Source table.
72
-
73
- 3.8 (2013-12-05)
74
- New Feature: Feed items can be limited and deleted by their age.
75
- Enhanced: Added utility functions for shorter filters.
76
- Fixed bug: License codes were being erased when add-ons were deactivated.
77
- Fixed bug: Some feed sources could not be set to active from the table controls.
78
- Fixed bug: str_pos errors appear when custom feed url is left empty.
79
- Fixed bug: Some options were producing undefined index errors.
80
-
81
- 3.7 (2013-11-28)
82
- New Feature: State system - Feed sources can be activated/paused.
83
- New Feature: State system - Feed sources can be set to activate or pause themselves at a specific date and time.
84
- Enhanced: Added compatibility with nested outline elements in OPML files.
85
- Enhanced: Admin menu icon image will change into a Dashicon, when WordPress is updated to 3.8 (Decemeber 2013).
86
- Fixed bug: Custom Post types were breaking when the plugin is activated.
87
-
88
- 3.6.1 (2013-11-17)
89
- Fixed bug: Missing 2nd argument for wprss_shorten_title()
90
-
91
- 3.6 (2013-11-16)
92
- New Feature: Can set the maximum length for titles. Long titles get trimmed.
93
- Fixed bug: Fixed errors with undefined indexes for unchecked checkboxes in the settings page.
94
- Fixed bug: Pagination on front static page was not working.
95
-
96
- 3.5.2 (2013-11-11)
97
- Fixed bug: Invalid feed source url was producing an Undefined method notice.
98
- Fixed bug: Custom feed was producing a 404 page.
99
- Fixed bug: Presstrends code firing on admin_init, opt-in implementation coming soon
100
-
101
- 3.5.1 (2013-11-09)
102
- Enhanced: Increased compatibility with RSS sources.
103
- Fixed bug: Pagination not working on home page
104
-
105
- 3.5 (2013-11-6)
106
- New Feature: Can delete feed items for a particular source
107
- Enhanced: the 'Fetch feed items' row action for feed sources resets itself after 3.5 seconds.
108
- Enhanced: The feed image is saved for each url.
109
- Fixed bug: Link to source now links to correct url. Previously linked to site's feed.
110
-
111
- 3.4.6 (2013-11-1)
112
- Enhanced: Added more hooks to debugging page for the Feed to Post add-on.
113
- Fixed bug: Uninitialized loop index
114
-
115
- 3.4.5 (2013-10-30)
116
- Bug Fix: Feed items were not being imported while the WPML plugin was active.
117
-
118
- 3.4.4 (2013-10-26)
119
- New feature: Pagination
120
- New feature: First implementation of editor button for easy shortcode creation
121
- Enhanced: Feed items and sources don't show up in link manager
122
- Enhanced: Included Presstrends code for plugin usage monitoring
123
-
124
- 3.4.3 (2013-10-20)
125
- Fixed bug: Removed anonymous functions for backwards PHP compatibility
126
- Bug fix: Added suppress_filters in feed-display.php to prevent a user reported error
127
- Bug fix: Missing <li> in certain feed displays
128
-
129
- 3.4.2 (2013-9-19)
130
- Enhanced: Added some hooks for Feed to Post compatibility
131
- Enhanced: Moved date settings to a more appropriate location
132
-
133
- 3.4.1 (2013-9-16)
134
- Fixed Bug: Minor issue with options page - PHP notice
135
-
136
- 3.4 (2013-9-15)
137
- New Feature: Saving/Updating a feed source triggers an update for that source's feed items.
138
- New Feature: Option to change Youtube, Vimeo and Dailymotion feed item URLs to embedded video players URLs
139
- New Feature: Facebook Pages URLs are automatically detected and changed into Atom Feed URLs using FB's Graph
140
- Enhanced: Updated jQuery Colorbox library to 1.4.29
141
- Fixed Bug: Some settings did not have a default value set, and were throwing an 'Undefined Index' error
142
- Fixed Bug: Admin notices do not disappear immediately when dismissed.
143
-
144
- 3.3.3 (2013-09-08)
145
- Fixed bug: Better function handling on uninstall, should remove uninstall issues
146
-
147
- 3.3.2 (2013-09-07)
148
- New feature: Added exclude parameter to shortcode
149
- Enhanced: Added metabox links to documentation and add-ons
150
- Fixed bug: Custom feed linking to post on user site rather than original source
151
- Fixed bug: Custom post types issues when activitating the plugin
152
-
153
- 3.3.1 (2013-08-09)
154
- Fixed bug: Roles and Capabilities file had not been included
155
- Fixed bug: Error on install, function not found
156
-
157
- 3.3 (2013-08-08)
158
- New feature: OPML importer
159
- New feature: Feed item limits for individual Feed Sources
160
- New feature: Custom feed URL
161
- New feature: Feed limit on custom feed
162
- New feature: New 'Fetch feed items' action for each Feed Source in listing display
163
- New feature: Option to enable link to source
164
- Enhanced: Date strings now change according to locale being used (i.e. compatible with WPML)
165
- Enhanced: Capabilities implemented
166
- Enhanced: Feed Sources row action 'View' removed
167
- Fixed Bug: Proxy feed URLs resulting in the permalink: example.com/url
168
-
169
- 3.2 (2013-07-06)
170
- New feature: Parameter to limit number of feeds displayed
171
- New feature: Paramter to limit feeds displayed to particular sources (via ID)
172
- New feature: Now handles licensing for add-ons
173
- Enhanced: Better feed import handling to handle large number of feed sources
174
-
175
- 3.1.1 (2013-06-06)
176
- Fixed bug: Incompatibility with some other plugins due to function missing namespace
177
-
178
- 3.1 (2013-06-06)
179
- New feature: Option to set the number of feed items imported from every feed (default 5)
180
- New feature: Import and Export aggregator settings and feed sources
181
- New feature: Debugging page allowing manual feed refresh and feed reset
182
- Enhanced: Faster handling of restoring sources from trash when feed limit is 0
183
- Fixed bug: Limiter on number of overall feeds stored not working
184
- Fixed bug: Incompatibility issue with Foobox plugin fixed
185
- Fixed bug: Duplicate feeds sometimes imported
186
-
187
- 3.0 (2013-03-16)
188
- New feature: Option to select cron frequency
189
- New feature: Code extensibility added to be compatible with add-ons
190
- New feature: Option to set a limit to the number of feeds stored (previously 50, hard coded)
191
- New feature: Option to define the format of the date shown below each feed item
192
- New feature: Option to show or hide source of feed item
193
- New feature: Option to show or hide publish date of feed item
194
- New feature: Option to set text preceding publish date
195
- New feature: Option to set text preceding source of feed item
196
- New feature: Option to link title or not
197
- New feature: Limit of 5 items imported for each source instead of 10
198
- Enhanced: Performance improvement when publishing new feeds in admin
199
- Enhanced: Query tuning for better performance
200
- Enhanced: Major code rewrite, refactoring and inclusion of hooks
201
- Enhanced: Updated Colorbox to v1.4.1
202
- Enhanced: Better security implementations
203
- Enhanced: Better feed preview display
204
- Fixed bug: Deletion of items upon source deletion not working properly
205
- Requires: WordPress 3.3
206
-
207
- 2.2.3 (2012-11-01)
208
- Fixed bug: Tab navigation preventing typing in input boxes
209
- Removed: Feeds showing up in internal linking pop up
210
-
211
- 2.2.2 (2012-10-30)
212
- Removed: Feeds showing up in site search results
213
- Enhanced: Better tab button navigation when adding a new feed
214
- Enhanced: Better guidance when a feed URL is invalid
215
-
216
- 2.2.1 (2012-10-17)
217
- Fixed bug: wprss_feed_source_order assumes everyone is an admin
218
-
219
- 2.2 (2012-10-01)
220
- New feature: Italian translation added
221
- Enhanced: Feed source order changed to alphabetical
222
- Fixed bug: repeated entries when having a non-valid feed source
223
- Fixed bug: all imported feeds deleted upon trashing a single feed source
224
-
225
- 2.1 (2012-09-27)
226
- New feature: Now localised for translations
227
- Fixed bug: with date string
228
- Fixed bug: $link_before and $link_after, now working
229
- Enhanced: Added backwards compatibility for wp_rss_aggregator() function
230
-
231
- 2.0 (2012-09-21)
232
- Bulk of code rewritten and refactored
233
- Added install and upgrade functions
234
- Added DB version setting
235
- Feed sources now stored as Custom Post Types
236
- Feed source list sortable ascending or descending by name
237
- Removed days subsections in feed display
238
- Ability to limit total number of feeds displayed
239
- Feeds now fetched via Cron
240
- Cron job to delete old feed items, keeps max of 50 items in DB
241
- Now requires WordPress 3.2
242
- updated colorbox to v1.3.20.1
243
- Limit of 15 items max imported for each source
244
- Fixed issue of page content displaying incorrectly after feeds
245
-
246
- 1.1 (2012-08-13)
247
- Now requires WordPress 3.0
248
- More flexible fetching of images directory
249
- Has its own top level menu item
250
- Added settings section
251
- Ability to open in lightbox, new window or default browser behaviour
252
- Ability to set links as follow or no follow
253
- Using constants for oftenly used locations
254
- Code refactoring
255
- Changes in file and folder structure
256
-
257
- 1.0 (2012-01-06)
258
- First release
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/admin-import-export.php CHANGED
@@ -96,23 +96,25 @@
96
  //Hope this plugin don't use admin.php for anything
97
  return;
98
  }
99
- if ( isset( $_FILES['import'] ) && check_admin_referer( 'wprss-settings-import' ) ) {
100
- if ( $_FILES['import']['error'] > 0) {
101
- wp_die( "Error during import" );
102
- } else {
103
- $file_name = $_FILES['import']['name'];
104
- $file_ext = strtolower( end( explode( ".", $file_name ) ) );
105
- $file_size = $_FILES['import']['size'];
106
- if ( ( $file_ext == "json" ) && ( $file_size < 500000 ) ) {
107
- $encode_options = file_get_contents( $_FILES['import']['tmp_name'] );
108
- $options = json_decode( $encode_options, true );
109
- foreach ( $options as $key => $value ) {
110
- update_option( $key, $value );
 
 
 
 
 
 
111
  }
112
- add_action( 'admin_notices', 'wp_rss_aggregator_import_notice1' );
113
- }
114
- else {
115
- add_action( 'admin_notices', 'wp_rss_aggregator_import_notice2' );
116
  }
117
  }
118
  }
96
  //Hope this plugin don't use admin.php for anything
97
  return;
98
  }
99
+ elseif ( $pagenow == 'edit.php' ) {
100
+ if ( isset( $_FILES['import'] ) && check_admin_referer( 'wprss-settings-import' ) ) {
101
+ if ( $_FILES['import']['error'] > 0) {
102
+ wp_die( "Error during import" );
103
+ } else {
104
+ $file_name = $_FILES['import']['name'];
105
+ $file_ext = strtolower( end( explode( ".", $file_name ) ) );
106
+ $file_size = $_FILES['import']['size'];
107
+ if ( ( $file_ext == "json" ) && ( $file_size < 500000 ) ) {
108
+ $encode_options = file_get_contents( $_FILES['import']['tmp_name'] );
109
+ $options = json_decode( $encode_options, true );
110
+ foreach ( $options as $key => $value ) {
111
+ update_option( $key, $value );
112
+ }
113
+ add_action( 'admin_notices', 'wp_rss_aggregator_import_notice1' );
114
+ }
115
+ else {
116
+ add_action( 'admin_notices', 'wp_rss_aggregator_import_notice2' );
117
  }
 
 
 
 
118
  }
119
  }
120
  }
includes/admin-welcome.php CHANGED
@@ -74,7 +74,7 @@
74
 
75
  <h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
76
  <ul>
77
- <li><strong>Fixed bug:</strong> Hook change in last version suspected reason for some installations having non-updated feed items.</li>
78
  </ul>
79
 
80
 
74
 
75
  <h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
76
  <ul>
77
+ <li><strong>Fixed bug:</strong> The plugin prevented uploading of header images.</li>
78
  </ul>
79
 
80
 
includes/shortcodes.php CHANGED
@@ -17,16 +17,14 @@
17
  wp_enqueue_style( 'styles', WPRSS_CSS . 'styles.css', array(), '' );
18
  }
19
 
20
- if ( !empty ($atts) ) {
21
  foreach ( $atts as $key => &$val ) {
22
- $val = html_entity_decode($val);
23
  }
24
  }
25
  ob_start(); // start an output buffer to output of the following function
26
  wprss_display_feed_items( $atts );
27
  $feed_items = ob_get_clean(); // save the current buffer and clear it
28
-
29
-
30
 
31
  return apply_filters( 'wprss_shortcode_output', $feed_items );
32
  }
17
  wp_enqueue_style( 'styles', WPRSS_CSS . 'styles.css', array(), '' );
18
  }
19
 
20
+ if ( !empty ( $atts ) ) {
21
  foreach ( $atts as $key => &$val ) {
22
+ $val = html_entity_decode( $val );
23
  }
24
  }
25
  ob_start(); // start an output buffer to output of the following function
26
  wprss_display_feed_items( $atts );
27
  $feed_items = ob_get_clean(); // save the current buffer and clear it
 
 
28
 
29
  return apply_filters( 'wprss_shortcode_output', $feed_items );
30
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.wprssaggregator.com
5
  Tags: rss, feeds, aggregation, 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
6
  Requires at least: 3.3
7
  Tested up to: 3.8.1
8
- Stable tag: 4.0.6
9
  License: GPLv2 or later
10
  Imports and aggregates multiple RSS Feeds using SimplePie. Outputs feeds sorted by date (latest first).
11
 
@@ -145,6 +145,9 @@ Yes, within the [Feed to Post](http://www.wprssaggregator.com/extensions/feed-to
145
 
146
  == Changelog ==
147
 
 
 
 
148
  = 4.0.6 (2014-03-05) =
149
  * Fixed bug: Hook change in last version suspected reason for some installations having non-updated feed items.
150
 
5
  Tags: rss, feeds, aggregation, 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
6
  Requires at least: 3.3
7
  Tested up to: 3.8.1
8
+ Stable tag: 4.0.7
9
  License: GPLv2 or later
10
  Imports and aggregates multiple RSS Feeds using SimplePie. Outputs feeds sorted by date (latest first).
11
 
145
 
146
  == Changelog ==
147
 
148
+ = 4.0.7 (2014-03-08) =
149
+ * Fixed bug: The plugin prevented uploading of header images.
150
+
151
  = 4.0.6 (2014-03-05) =
152
  * Fixed bug: Hook change in last version suspected reason for some installations having non-updated feed items.
153
 
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.0.6
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.0.6
33
  * @since 1.0
34
  * @author Jean Galea <info@jeangalea.com>
35
  * @copyright Copyright (c) 2012-2014, 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.0.6', 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.0.7
7
  Author: Jean Galea
8
  Author URI: http://www.wprssaggregator.com
9
  License: GPLv2
29
 
30
  /**
31
  * @package WPRSSAggregator
32
+ * @version 4.0.7
33
  * @since 1.0
34
  * @author Jean Galea <info@jeangalea.com>
35
  * @copyright Copyright (c) 2012-2014, Jean Galea
43
 
44
  // Set the version number of the plugin.
45
  if( !defined( 'WPRSS_VERSION' ) )
46
+ define( 'WPRSS_VERSION', '4.0.7', true );
47
 
48
  // Set the database version number of the plugin.
49
  if( !defined( 'WPRSS_DB_VERSION' ) )