WP RSS Aggregator - Version 3.9.8

Version Description

(2014-01-20) = * Fixed bug: Removed excessive logging from Debugging Error Log.

Download this release

Release Info

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

Code changes from version 3.9.7 to 3.9.8

changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  3.9.7 (2014-01-17)
2
  Fixed bug: Bug in admin-debugging.php causing trouble with admin login
3
 
1
+ 3.9.8 (2014-01-20)
2
+ Fixed bug: Removed excessive logging from Debugging Error Log.
3
+
4
  3.9.7 (2014-01-17)
5
  Fixed bug: Bug in admin-debugging.php causing trouble with admin login
6
 
css/admin-styles.css CHANGED
@@ -175,11 +175,11 @@ input#thumbnails-width {
175
  cursor: default;
176
  }
177
 
178
- #system-info-textarea {
 
179
  width: 800px;
180
  height: 400px;
181
  font-family: Menlo, Monaco, monospace;
182
- background: none;
183
  white-space: pre;
184
  overflow: auto;
185
  display: block;
175
  cursor: default;
176
  }
177
 
178
+ #system-info-textarea,
179
+ #wprss-error-log-textarea {
180
  width: 800px;
181
  height: 400px;
182
  font-family: Menlo, Monaco, monospace;
 
183
  white-space: pre;
184
  overflow: auto;
185
  display: block;
includes/admin-debugging.php CHANGED
@@ -125,8 +125,6 @@
125
  }
126
 
127
 
128
-
129
-
130
  /**
131
  * Renders the Clear Log button
132
  *
@@ -147,8 +145,6 @@
147
  }
148
 
149
 
150
-
151
-
152
  /**
153
  * Build the debugging page
154
  *
125
  }
126
 
127
 
 
 
128
  /**
129
  * Renders the Clear Log button
130
  *
145
  }
146
 
147
 
 
 
148
  /**
149
  * Build the debugging page
150
  *
includes/admin-editor.php CHANGED
@@ -37,9 +37,11 @@
37
  /**
38
  * Adds the button action JS file to TinyMCE's plugin list
39
  *
 
40
  * @since 3.5
41
  */
42
  function wprss_register_tinymce_plugin($plugin_array) {
 
43
  $plugin_array['wprss'] = WPRSS_JS . 'editor.js';
44
  return $plugin_array;
45
  }
37
  /**
38
  * Adds the button action JS file to TinyMCE's plugin list
39
  *
40
+ * @todo add filter to skip showing the editor button
41
  * @since 3.5
42
  */
43
  function wprss_register_tinymce_plugin($plugin_array) {
44
+ // add filter here
45
  $plugin_array['wprss'] = WPRSS_JS . 'editor.js';
46
  return $plugin_array;
47
  }
includes/admin-options.php CHANGED
@@ -810,7 +810,7 @@
810
  function wprss_settings_license_keys_validate( $input ) {
811
  // Get the current licenses option
812
  $licenses = get_option( 'wprss_settings_license_keys' );
813
- // For each entry in the recieved input
814
  foreach ( $input as $addon => $license_code ) {
815
  // If the entry does not exist OR the code is different
816
  if ( !array_key_exists( $addon, $licenses ) || $license_code !== $licenses[ $addon ] ) {
810
  function wprss_settings_license_keys_validate( $input ) {
811
  // Get the current licenses option
812
  $licenses = get_option( 'wprss_settings_license_keys' );
813
+ // For each entry in the received input
814
  foreach ( $input as $addon => $license_code ) {
815
  // If the entry does not exist OR the code is different
816
  if ( !array_key_exists( $addon, $licenses ) || $license_code !== $licenses[ $addon ] ) {
includes/admin-welcome.php CHANGED
@@ -74,7 +74,7 @@
74
 
75
  <h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
76
  <ul>
77
- <li>Fixed bug: Bug in admin-debugging.php causing trouble with admin login</li>
78
  </ul>
79
 
80
 
74
 
75
  <h3>Changelog for v<?php echo WPRSS_VERSION; ?></h3>
76
  <ul>
77
+ <li>Fixed bug: Removed excessive logging from Debugging Error Log.</li>
78
  </ul>
79
 
80
 
includes/feed-processing.php CHANGED
@@ -313,11 +313,7 @@
313
  if ( ! ( in_array( $permalink, $existing_permalinks ) ) ) {
314
 
315
  // Apply filters that determine if the feed item should be inserted into the DB or not.
316
- $new_item = apply_filters( 'wprss_insert_post_item_conditionals', $item, $feed_ID, $permalink );
317
- if ( $new_item === NULL ) {
318
- wprss_log( 'Feed item skipped (got null): ' . $item->get_title() );
319
- }
320
- $item = $new_item;
321
 
322
  // If the item is not NULL, continue to inserting the feed item post into the DB
323
  if ( $item !== NULL ) {
@@ -504,9 +500,12 @@
504
 
505
  // If the feed has its own meta limit, which is not zero,
506
  // slice the items array using the feed meta limit
507
- if ( !empty( $feed_limit ) && $feed_limit !== 0 )
508
  $items_to_insert = array_slice($items, 0, $feed_limit);
509
- else $items_to_insert = $items;
 
 
 
510
 
511
  // Insert the items into the db
512
  if ( !empty( $items_to_insert ) ) {
@@ -839,7 +838,6 @@
839
  $difference = $age - $max_age;
840
 
841
  if ( $difference <= 0 ) {
842
- wprss_log( 'Feed item skipped (older than specified settings): ' . $item->get_title() );
843
  return NULL;
844
  } else {
845
  return $item;
313
  if ( ! ( in_array( $permalink, $existing_permalinks ) ) ) {
314
 
315
  // Apply filters that determine if the feed item should be inserted into the DB or not.
316
+ $item = apply_filters( 'wprss_insert_post_item_conditionals', $item, $feed_ID, $permalink );
 
 
 
 
317
 
318
  // If the item is not NULL, continue to inserting the feed item post into the DB
319
  if ( $item !== NULL ) {
500
 
501
  // If the feed has its own meta limit, which is not zero,
502
  // slice the items array using the feed meta limit
503
+ if ( !empty( $feed_limit ) && $feed_limit !== 0 ) {
504
  $items_to_insert = array_slice($items, 0, $feed_limit);
505
+ }
506
+ else {
507
+ $items_to_insert = $items;
508
+ }
509
 
510
  // Insert the items into the db
511
  if ( !empty( $items_to_insert ) ) {
838
  $difference = $age - $max_age;
839
 
840
  if ( $difference <= 0 ) {
 
841
  return NULL;
842
  } else {
843
  return $item;
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
8
- Stable tag: 3.9.7
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
  = 3.9.7 (2014-01-17) =
149
  * Fixed bug: Bug in admin-debugging.php causing trouble with admin login
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
8
+ Stable tag: 3.9.8
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
+ = 3.9.8 (2014-01-20) =
149
+ * Fixed bug: Removed excessive logging from Debugging Error Log.
150
+
151
  = 3.9.7 (2014-01-17) =
152
  * Fixed bug: Bug in admin-debugging.php causing trouble with admin login
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: 3.9.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 3.9.7
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', '3.9.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: 3.9.8
7
  Author: Jean Galea
8
  Author URI: http://www.wprssaggregator.com
9
  License: GPLv2
29
 
30
  /**
31
  * @package WPRSSAggregator
32
+ * @version 3.9.8
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', '3.9.8', true );
47
 
48
  // Set the database version number of the plugin.
49
  if( !defined( 'WPRSS_DB_VERSION' ) )