Rotating Tweets (Twitter widget and shortcode) - Version 1.6.9

Version Description

  • Bug fix for error introduced in 1.6.8.

=

Download this release

Release Info

Developer mpntod
Plugin Icon wp plugin Rotating Tweets (Twitter widget and shortcode)
Version 1.6.9
Comparing to
See all releases

Code changes from version 1.6.8 to 1.6.9

Files changed (2) hide show
  1. readme.txt +6 -3
  2. rotatingtweets.php +2 -2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual,responsive
5
  Requires at least: 2.6
6
  Tested up to: 3.8
7
- Stable tag: 1.6.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -163,10 +163,13 @@ into your CSS - changing `123px;` to the width you're aiming at - either via put
163
  You can do this by going to the `rotatingtweets/css` directory and renaming `rotatingtweets-sample.css` to `rotatingtweets.css` and putting it in the `wp-content/uploads/` directory. This displays a Twitter bird to the left of your tweets. Any CSS you put into `rotatingtweets.css` won't be overwritten when the plug-in is upgraded to the latest version.
164
 
165
  == Upgrade notice ==
166
- = 1.6.8 =
167
- * Shrinking cache size to reduce memory problems.
168
 
169
  == Changelog ==
 
 
 
170
  = 1.6.8 =
171
  * Shrinking cache size to reduce memory problems.
172
  * Improved diagnostics.
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual,responsive
5
  Requires at least: 2.6
6
  Tested up to: 3.8
7
+ Stable tag: 1.6.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
163
  You can do this by going to the `rotatingtweets/css` directory and renaming `rotatingtweets-sample.css` to `rotatingtweets.css` and putting it in the `wp-content/uploads/` directory. This displays a Twitter bird to the left of your tweets. Any CSS you put into `rotatingtweets.css` won't be overwritten when the plug-in is upgraded to the latest version.
164
 
165
  == Upgrade notice ==
166
+ = 1.6.9 =
167
+ * Bug fix for error introduced in 1.6.8.
168
 
169
  == Changelog ==
170
+ = 1.6.9 =
171
+ * Bug fix.
172
+
173
  = 1.6.8 =
174
  * Shrinking cache size to reduce memory problems.
175
  * Improved diagnostics.
rotatingtweets.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Rotating Tweets (Twitter widget & shortcode)
4
  Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
5
- Version: 1.6.8
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk
@@ -873,7 +873,7 @@ function rotatingtweets_shrink_cache() {
873
  $numberidentities = count($option);
874
  if(WP_DEBUG) echo "<!-- There are currently ".$numberidentities." identities cached -->";
875
  # If there are fewer than 10 sets of information cached - just return (for speed)
876
- // if($numberidentities < 10) return;
877
  # Now make sure that we don't overwrite 'live' tweets
878
  $minageindays = 1000000;
879
  $totalcachesize = 0;
2
  /*
3
  Plugin Name: Rotating Tweets (Twitter widget & shortcode)
4
  Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
5
+ Version: 1.6.9
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk
873
  $numberidentities = count($option);
874
  if(WP_DEBUG) echo "<!-- There are currently ".$numberidentities." identities cached -->";
875
  # If there are fewer than 10 sets of information cached - just return (for speed)
876
+ if ( !is_array($option) or $numberidentities == 0 ) return;
877
  # Now make sure that we don't overwrite 'live' tweets
878
  $minageindays = 1000000;
879
  $totalcachesize = 0;