Version Description
(2014-02-12) = * Fixed bug: The general setting for deleting feed items by age was not working.
Download this release
Release Info
Developer | jeangalea |
Plugin | WP RSS Aggregator |
Version | 4.0.3 |
Comparing to | |
See all releases |
Code changes from version 4.0.2 to 4.0.3
- changelog.txt +3 -0
- includes/admin-welcome.php +1 -1
- includes/feed-processing.php +8 -5
- log.txt +18 -0
- readme.txt +4 -1
- wp-rss-aggregator.php +3 -3
changelog.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
4.0.2 (2014-02-10)
|
2 |
Enhanced: Added a filter to change the html tags allowed in feed item content.
|
3 |
|
1 |
+
4.0.3 (2014-02-12)
|
2 |
+
Fixed bug: The general setting for deleting feed items by age was not working.
|
3 |
+
|
4 |
4.0.2 (2014-02-10)
|
5 |
Enhanced: Added a filter to change the html tags allowed in feed item content.
|
6 |
|
includes/admin-welcome.php
CHANGED
@@ -74,7 +74,7 @@
|
|
74 |
|
75 |
<h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
|
76 |
<ul>
|
77 |
-
<li><b>
|
78 |
</ul>
|
79 |
|
80 |
|
74 |
|
75 |
<h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
|
76 |
<ul>
|
77 |
+
<li><b>Fixed bug:</b> The general setting for deleting feed items by age was not working.</li>
|
78 |
</ul>
|
79 |
|
80 |
|
includes/feed-processing.php
CHANGED
@@ -364,15 +364,18 @@
|
|
364 |
function wprss_get_max_age_for_feed_source( $source_id ) {
|
365 |
$general_settings = get_option( 'wprss_settings_general' );
|
366 |
// Get the meta data for age for this feed source
|
367 |
-
$age_limit = get_post_meta( $source_id, 'wprss_age_limit',
|
368 |
-
$age_unit = get_post_meta( $source_id, 'wprss_age_unit',
|
|
|
369 |
// If the meta does not exist, use the global settings
|
370 |
-
$age_limit = (
|
371 |
-
$age_unit = (
|
|
|
372 |
// If the age limit is an empty string, use no limit
|
373 |
if ( $age_limit === '' ) {
|
374 |
return FALSE;
|
375 |
}
|
|
|
376 |
// Return the timestamp of the max age date
|
377 |
return strtotime( "-$age_limit $age_unit" );
|
378 |
}
|
@@ -380,7 +383,7 @@
|
|
380 |
|
381 |
/**
|
382 |
* Delete old feed items from the database to avoid bloat.
|
383 |
-
* As
|
384 |
*
|
385 |
* @since 3.8
|
386 |
*/
|
364 |
function wprss_get_max_age_for_feed_source( $source_id ) {
|
365 |
$general_settings = get_option( 'wprss_settings_general' );
|
366 |
// Get the meta data for age for this feed source
|
367 |
+
$age_limit = get_post_meta( $source_id, 'wprss_age_limit', TRUE );
|
368 |
+
$age_unit = get_post_meta( $source_id, 'wprss_age_unit', TRUE );
|
369 |
+
|
370 |
// If the meta does not exist, use the global settings
|
371 |
+
$age_limit = ( $age_limit === '' )? wprss_get_general_setting( 'limit_feed_items_age' ) : $age_limit;
|
372 |
+
$age_unit = ( $age_unit === '' )? wprss_get_general_setting( 'limit_feed_items_age_unit' ) : $age_unit;
|
373 |
+
|
374 |
// If the age limit is an empty string, use no limit
|
375 |
if ( $age_limit === '' ) {
|
376 |
return FALSE;
|
377 |
}
|
378 |
+
|
379 |
// Return the timestamp of the max age date
|
380 |
return strtotime( "-$age_limit $age_unit" );
|
381 |
}
|
383 |
|
384 |
/**
|
385 |
* Delete old feed items from the database to avoid bloat.
|
386 |
+
* As of 3.8, it uses the new feed age system.
|
387 |
*
|
388 |
* @since 3.8
|
389 |
*/
|
log.txt
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[12-02-2014 20:52:50] WPRSS > wprss_get_feed_items:
|
2 |
+
Failed to fetch feed ""
|
3 |
+
|
4 |
+
[12-02-2014 21:47:51] WPRSS > image_obeys_minimum_size:
|
5 |
+
Failed to get image dimensions. Image may not exist at http://distilleryimage6.ak.instagram.com/44286a44942f11e3be190a8fc0c85626_8.jpg
|
6 |
+
[12-02-2014 22:08:26] WPRSS > image_obeys_minimum_size:
|
7 |
+
Failed to get image dimensions. Image may not exist at http://i.imgur.com/lJDfUrJ.png
|
8 |
+
[12-02-2014 22:08:26] WPRSS > image_obeys_minimum_size:
|
9 |
+
Failed to get image dimensions. Image may not exist at http://freelance-coding.com/themes/glamour-nightclub/glamour_nightclub.png
|
10 |
+
[12-02-2014 22:08:26] WPRSS > image_obeys_minimum_size:
|
11 |
+
Failed to get image dimensions. Image may not exist at http://freelance-coding.com/themes/glamour-nightclub/features.png
|
12 |
+
[12-02-2014 22:08:26] WPRSS > image_obeys_minimum_size:
|
13 |
+
Failed to get image dimensions. Image may not exist at http://1.s3.envato.com/files/62014681/PRINTSCREENS/02_HOME-sidebar.jpg
|
14 |
+
[12-02-2014 22:08:26] WPRSS > image_obeys_minimum_size:
|
15 |
+
Failed to get image dimensions. Image may not exist at http://1.s3.envato.com/files/62014681/PRINTSCREENS/04_EVENT-list.jpg
|
16 |
+
[12-02-2014 22:08:26] WPRSS > image_obeys_minimum_size:
|
17 |
+
Failed to get image dimensions. Image may not exist at http://2.s3.envato.com/files/62014681/PRINTSCREENS/06_EVENT.jpg
|
18 |
+
|
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.
|
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.2 (2014-02-10) =
|
149 |
* Enhanced: Added a filter to change the html tags allowed in feed item content.
|
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.3
|
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.3 (2014-02-12) =
|
149 |
+
* Fixed bug: The general setting for deleting feed items by age was not working.
|
150 |
+
|
151 |
= 4.0.2 (2014-02-10) =
|
152 |
* Enhanced: Added a filter to change the html tags allowed in feed item content.
|
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.
|
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.
|
33 |
* @since 1.0
|
34 |
* @author Jean Galea <info@jeangalea.com>
|
35 |
* @copyright Copyright (c) 2012-2013, 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.
|
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.3
|
7 |
Author: Jean Galea
|
8 |
Author URI: http://www.wprssaggregator.com
|
9 |
License: GPLv2
|
29 |
|
30 |
/**
|
31 |
* @package WPRSSAggregator
|
32 |
+
* @version 4.0.3
|
33 |
* @since 1.0
|
34 |
* @author Jean Galea <info@jeangalea.com>
|
35 |
* @copyright Copyright (c) 2012-2013, Jean Galea
|
43 |
|
44 |
// Set the version number of the plugin.
|
45 |
if( !defined( 'WPRSS_VERSION' ) )
|
46 |
+
define( 'WPRSS_VERSION', '4.0.3', true );
|
47 |
|
48 |
// Set the database version number of the plugin.
|
49 |
if( !defined( 'WPRSS_DB_VERSION' ) )
|