Rotating Tweets (Twitter widget and shortcode) - Version 1.8.2

Version Description

  • Fixed 'Undefined variable' bug in line 648

=

Download this release

Release Info

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

Code changes from version 1.8.1 to 1.8.2

languages/rotatingtweets-it_IT.mo DELETED
Binary file
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,page builder
5
  Requires at least: 3.2
6
  Tested up to: 4.4.1
7
- Stable tag: 1.8.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -183,10 +183,13 @@ into your CSS - changing `123px;` to the width you're aiming at - either via put
183
  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.
184
 
185
  == Upgrade notice ==
186
- = 1.8.1 =
187
- * Fixed "no updating" caching bug
188
 
189
  == Changelog ==
 
 
 
190
  = 1.8.1 =
191
  * Fixed "no updating" caching bug
192
 
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual,responsive,page builder
5
  Requires at least: 3.2
6
  Tested up to: 4.4.1
7
+ Stable tag: 1.8.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
183
  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.
184
 
185
  == Upgrade notice ==
186
+ = 1.8.2 =
187
+ * Fixed 'Undefined variable' bug in line 648
188
 
189
  == Changelog ==
190
+ = 1.8.2 =
191
+ * Fixed 'Undefined variable' bug in line 648
192
+
193
  = 1.8.1 =
194
  * Fixed "no updating" caching bug
195
 
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.8.1
6
  Text Domain: rotatingtweets
7
  Domain Path: /languages
8
  Author: Martin Tod
@@ -645,7 +645,7 @@ function rotatingtweets_display_shortcode( $atts, $content=null, $code="", $prin
645
  rotatingtweets_set_transient($args['text_cache_id']&'-otk',1,10*60);
646
  delete_transient($args['text_cache_id']);
647
  endif;
648
- if(strlen($returnstring)==0):
649
  $tweets = rotatingtweets_get_tweets($screen_name,$include_rts,$exclude_replies,$get_favorites,$search,$list,$args['merge_cache'],$collection);
650
  $returnstring = rotating_tweets_display($tweets,$args,$print);
651
  elseif(WP_DEBUG):
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.8.2
6
  Text Domain: rotatingtweets
7
  Domain Path: /languages
8
  Author: Martin Tod
645
  rotatingtweets_set_transient($args['text_cache_id']&'-otk',1,10*60);
646
  delete_transient($args['text_cache_id']);
647
  endif;
648
+ if(empty($returnstring)):
649
  $tweets = rotatingtweets_get_tweets($screen_name,$include_rts,$exclude_replies,$get_favorites,$search,$list,$args['merge_cache'],$collection);
650
  $returnstring = rotating_tweets_display($tweets,$args,$print);
651
  elseif(WP_DEBUG):