Rotating Tweets (Twitter widget and shortcode) - Version 1.8.6

Version Description

  • Fixing minor bug in German translation.

=

Download this release

Release Info

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

Code changes from version 1.8.5 to 1.8.6

Files changed (2) hide show
  1. readme.txt +7 -3
  2. rotatingtweets.php +3 -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,page builder
5
  Requires at least: 3.2
6
  Tested up to: 4.6.1
7
- Stable tag: 1.8.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -184,10 +184,14 @@ into your CSS - changing `123px;` to the width you're aiming at - either via put
184
  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.
185
 
186
  == Upgrade notice ==
187
- = 1.8.5 =
188
- * Add shortcode for a large Twitter 'follow' button. Support for PHP7. Support for 'Selective Refresh'.
189
 
190
  == Changelog ==
 
 
 
 
191
  = 1.8.5 =
192
  * Add shortcode for a large Twitter 'follow' button
193
  * Support for PHP7
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.6.1
7
+ Stable tag: 1.8.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
184
  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.
185
 
186
  == Upgrade notice ==
187
+ = 1.8.6 =
188
+ * Fixing minor bug in German translation.
189
 
190
  == Changelog ==
191
+ = 1.8.6 =
192
+ * Fixing minor bug in German translation.
193
+ * Removing "Undefined variable" notice on line 165
194
+
195
  = 1.8.5 =
196
  * Add shortcode for a large Twitter 'follow' button
197
  * Support for PHP7
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.5
6
  Text Domain: rotatingtweets
7
  Domain Path: /languages
8
  Author: Martin Tod
@@ -115,6 +115,7 @@ class rotatingtweets_Widget extends WP_Widget {
115
  if($rotatingtweets_otk):
116
  $rt_tweet_string = rotatingtweets_get_transient($newargs['text_cache_id']);
117
  else:
 
118
  // Automatically delete text cache every 10 minutes
119
  rotatingtweets_set_transient($newargs['text_cache_id']&'-otk',1,10*60);
120
  delete_transient($newargs['text_cache_id']);
@@ -642,7 +643,7 @@ function rotatingtweets_display_shortcode( $atts, $content=null, $code="", $prin
642
  if($args['no_cache']) {
643
  $clearargs = $args;
644
  $clearargs['no_cache'] = FALSE;
645
- if(WP_DEBUG) echo "<!-- Clearing cache: stored cache = ".$args['text_cache_id']." ; calculcated cache = rt-sc-".md5(serialize($clearargs))." -->";
646
  if($args['text_cache_id']):
647
  $clear_cache_id = $args['text_cache_id'];
648
  else:
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.6
6
  Text Domain: rotatingtweets
7
  Domain Path: /languages
8
  Author: Martin Tod
115
  if($rotatingtweets_otk):
116
  $rt_tweet_string = rotatingtweets_get_transient($newargs['text_cache_id']);
117
  else:
118
+ $rt_tweet_string = "";
119
  // Automatically delete text cache every 10 minutes
120
  rotatingtweets_set_transient($newargs['text_cache_id']&'-otk',1,10*60);
121
  delete_transient($newargs['text_cache_id']);
643
  if($args['no_cache']) {
644
  $clearargs = $args;
645
  $clearargs['no_cache'] = FALSE;
646
+ if(WP_DEBUG) echo "<!-- Clearing cache: stored cache = ".$args['text_cache_id']." ; calculated cache = rt-sc-".md5(serialize($clearargs))." -->";
647
  if($args['text_cache_id']):
648
  $clear_cache_id = $args['text_cache_id'];
649
  else: