Rotating Tweets (Twitter widget and shortcode) - Version 0.705

Version Description

Includes an important upgrade needed for Rotating Tweets to keep working after March 2013. Supports version 1.1 of the Twitter API.

=

Download this release

Release Info

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

Code changes from version 0.704 to 0.705

Files changed (3) hide show
  1. js/rotating_tweet.js +5 -2
  2. readme.txt +3 -3
  3. rotatingtweets.php +1 -1
js/rotating_tweet.js CHANGED
@@ -12,9 +12,12 @@ jQuery(document).ready(function() {
12
  if(rotate_fx == null){rotate_fx = 'scrollUp'};
13
  var rt_height_px = 'auto';
14
  /* Now find the widget container width */
15
- var rt_target_width = jQuery(this).closest('.widget').width();
 
 
 
16
  var rt_fit = 1;
17
- if( rt_target_width == 0 ) {
18
  rt_target_width = 'auto';
19
  rt_fit = 0;
20
  }
12
  if(rotate_fx == null){rotate_fx = 'scrollUp'};
13
  var rt_height_px = 'auto';
14
  /* Now find the widget container width */
15
+ var rt_target_width = jQuery(this).closest('.widget_rotatingtweets_widget').width();
16
+ if( rt_target_width == null ) {
17
+ var rt_target_width = jQuery(this).closest('.widget').width();
18
+ }
19
  var rt_fit = 1;
20
+ if( rt_target_width == null ) {
21
  rt_target_width = 'auto';
22
  rt_fit = 0;
23
  }
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
5
  Requires at least: 2.6
6
  Tested up to: 3.5
7
- Stable tag: 0.704
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -82,11 +82,11 @@ In most cases, each use (or "instance") of this plug-in gets data from Twitter e
82
  You can do this by going to the `rotatingtweets/css` directory and renaming `yourstyle-sample.css` to `yourstyle.css`. This displays a Twitter bird to the left of your tweets. Any CSS you put into `yourstyle.css` won't be overwritten when the plug-in is upgraded to the latest version.
83
 
84
  == Upgrade notice ==
85
- = 0.704 =
86
  Includes an important upgrade needed for Rotating Tweets to keep working after March 2013. Supports version 1.1 of the Twitter API.
87
 
88
  == Changelog ==
89
- = 0.704 =
90
  Change to JavaScript to improve width handling for tweets.
91
 
92
  = 0.703 =
4
  Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual
5
  Requires at least: 2.6
6
  Tested up to: 3.5
7
+ Stable tag: 0.705
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
82
  You can do this by going to the `rotatingtweets/css` directory and renaming `yourstyle-sample.css` to `yourstyle.css`. This displays a Twitter bird to the left of your tweets. Any CSS you put into `yourstyle.css` won't be overwritten when the plug-in is upgraded to the latest version.
83
 
84
  == Upgrade notice ==
85
+ = 0.705 =
86
  Includes an important upgrade needed for Rotating Tweets to keep working after March 2013. Supports version 1.1 of the Twitter API.
87
 
88
  == Changelog ==
89
+ = 0.705 =
90
  Change to JavaScript to improve width handling for tweets.
91
 
92
  = 0.703 =
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: 0.704
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk
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: 0.705
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk