Rotating Tweets (Twitter widget and shortcode) - Version 0.30

Version Description

Fixes bug - problem with get_object_vars() on line 193

=

Download this release

Release Info

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

Code changes from version 0.29 to 0.30

Files changed (2) hide show
  1. readme.txt +7 -4
  2. rotatingtweets.php +1 -2
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: mpntod
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9XCNM4QSVHYT8
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets
5
  Requires at least: 2.6
6
- Tested up to: 3.3.2
7
- Stable tag: 0.29
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -39,10 +39,13 @@ But you may just decide to use the 'Rotating Tweets' widget!
39
  In most cases, each use (or "instance") of this plug-in gets data from Twitter every 2 minutes. The exception is when two or more instances share the same settings (screen name etc.), in which case they share the same data rather than each calling it separately.
40
 
41
  == Upgrade notice ==
42
- = 0.29 =
43
- Better handling of retweets. No longer cuts off the end of the text on longer RTs.
44
 
45
  == Changelog ==
 
 
 
46
  = 0.29 =
47
  Better handling of retweets. No longer cuts off the end of the text on longer RTs.
48
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9XCNM4QSVHYT8
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets
5
  Requires at least: 2.6
6
+ Tested up to: 3.4
7
+ Stable tag: 0.30
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
39
  In most cases, each use (or "instance") of this plug-in gets data from Twitter every 2 minutes. The exception is when two or more instances share the same settings (screen name etc.), in which case they share the same data rather than each calling it separately.
40
 
41
  == Upgrade notice ==
42
+ = 0.30 =
43
+ Fixes bug - problem with `get_object_vars()` on line 193
44
 
45
  == Changelog ==
46
+ = 0.30 =
47
+ Fixes bug - problem with `get_object_vars()` on line 193
48
+
49
  = 0.29 =
50
  Better handling of retweets. No longer cuts off the end of the text on longer RTs.
51
 
rotatingtweets.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Rotating Tweets widget & shortcode
4
  Description: Replaces a shortcode such as [rotatingtweets userid='your_twitter_name'], or a widget, with a rotating tweets display
5
- Version: 0.29
6
  Author: Martin Tod
7
  Author URI: http://www.martintod.org.uk
8
  License: GPL2
@@ -190,7 +190,6 @@ function rotating_tweets_display($json,$tweet_count=5,$show_follow=FALSE,$print=
190
  $result = "<div class='rotatingtweets' id='".uniqid('rotatingtweets_')."'>";
191
  $tweet_counter = 0;
192
  foreach($json as $twitter_object):
193
- $twitter_vars = get_object_vars($twitter_object);
194
  $tweet_counter++;
195
  if($tweet_counter <= $tweet_count):
196
  if($tweet_counter == 1):
2
  /*
3
  Plugin Name: Rotating Tweets widget & shortcode
4
  Description: Replaces a shortcode such as [rotatingtweets userid='your_twitter_name'], or a widget, with a rotating tweets display
5
+ Version: 0.30
6
  Author: Martin Tod
7
  Author URI: http://www.martintod.org.uk
8
  License: GPL2
190
  $result = "<div class='rotatingtweets' id='".uniqid('rotatingtweets_')."'>";
191
  $tweet_counter = 0;
192
  foreach($json as $twitter_object):
 
193
  $tweet_counter++;
194
  if($tweet_counter <= $tweet_count):
195
  if($tweet_counter == 1):