Rotating Tweets (Twitter widget and shortcode) - Version 1.4.2

Version Description

Works with responsive templates.

Download this release

Release Info

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

Code changes from version 1.4.1 to 1.4.2

Files changed (3) hide show
  1. js/rotating_tweet.js +4 -1
  2. readme.txt +5 -2
  3. rotatingtweets.php +1 -1
js/rotating_tweet.js CHANGED
@@ -162,7 +162,8 @@ jQuery(document).ready(function() {
162
  );
163
  var rt_resize_target_width = jQuery(rotate_id).width();
164
  var rt_resize_target_main = jQuery(rotate_id + ' .rtw_main').width();
165
- var rt_resize_target_tweet = jQuery(rotate_id + ' .rotatingtweet').width
 
166
  jQuery(window).resize(function() {
167
  rt_parent = jQuery(rotate_id).parent();
168
  rt_grandparent = rt_parent.parent();
@@ -205,12 +206,14 @@ jQuery(document).ready(function() {
205
  jQuery(rt_children_meta_id).width(rt_max_width + rt_resize_width_new - rt_resize_width_old );
206
  jQuery(rotate_id + ' .rtw_main').width(rt_resize_target_main + rt_resize_width_new - rt_resize_width_old );
207
  jQuery(rotate_id + ' .rotatingtweet').width(rt_resize_target_tweet + rt_resize_width_new - rt_resize_width_old );
 
208
  jQuery(rotate_id).width(rt_resize_target_width + rt_resize_width_new - rt_resize_width_old );
209
  // Now update the variables
210
  rt_resize_target_width = rt_resize_target_width + rt_resize_width_new - rt_resize_width_old;
211
  rt_resize_target_main = rt_resize_target_main + rt_resize_width_new - rt_resize_width_old;
212
  rt_resize_target_tweet = rt_resize_target_tweet + rt_resize_width_new - rt_resize_width_old;
213
  rt_max_width = rt_max_width + rt_resize_width_new - rt_resize_width_old;
 
214
  rt_resize_width_old = rt_resize_width_new;
215
  // Now we need to fix the heights
216
  var rt_newheight = 0;
162
  );
163
  var rt_resize_target_width = jQuery(rotate_id).width();
164
  var rt_resize_target_main = jQuery(rotate_id + ' .rtw_main').width();
165
+ var rt_resize_target_tweet = jQuery(rotate_id + ' .rotatingtweet').width();
166
+ var rt_resize_target_meta = jQuery(rotate_id + ' .rtw_meta').width();
167
  jQuery(window).resize(function() {
168
  rt_parent = jQuery(rotate_id).parent();
169
  rt_grandparent = rt_parent.parent();
206
  jQuery(rt_children_meta_id).width(rt_max_width + rt_resize_width_new - rt_resize_width_old );
207
  jQuery(rotate_id + ' .rtw_main').width(rt_resize_target_main + rt_resize_width_new - rt_resize_width_old );
208
  jQuery(rotate_id + ' .rotatingtweet').width(rt_resize_target_tweet + rt_resize_width_new - rt_resize_width_old );
209
+ jQuery(rotate_id + ' .rtw_meta').width(rt_resize_target_meta + rt_resize_width_new - rt_resize_width_old );
210
  jQuery(rotate_id).width(rt_resize_target_width + rt_resize_width_new - rt_resize_width_old );
211
  // Now update the variables
212
  rt_resize_target_width = rt_resize_target_width + rt_resize_width_new - rt_resize_width_old;
213
  rt_resize_target_main = rt_resize_target_main + rt_resize_width_new - rt_resize_width_old;
214
  rt_resize_target_tweet = rt_resize_target_tweet + rt_resize_width_new - rt_resize_width_old;
215
  rt_max_width = rt_max_width + rt_resize_width_new - rt_resize_width_old;
216
+ rt_resize_target_meta = rt_resize_target_meta + rt_resize_width_new - rt_resize_width_old;
217
  rt_resize_width_old = rt_resize_width_new;
218
  // Now we need to fix the heights
219
  var rt_newheight = 0;
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.5.1
7
- Stable tag: 1.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -141,13 +141,16 @@ If there is only one copy of `jquery` and of `jquery.cycle` on your page, the be
141
  1. Read the diagnostics and look for any problems that relate to JavaScript. This will normally tell you which JavaScript (if any) is having problems.
142
 
143
  == Upgrade notice ==
144
- = 1.4.1 =
145
  Works with responsive templates.
146
 
147
  = 0.700 (1.3.0) =
148
  * Upgrade needed for Rotating Tweets to keep working after May 2013. Supports version 1.1 of the Twitter API.
149
 
150
  == Changelog ==
 
 
 
151
  = 1.4.1 =
152
  * Now works with responsive formats
153
  * Adjusted width overflow issues
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.5.1
7
+ Stable tag: 1.4.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
141
  1. Read the diagnostics and look for any problems that relate to JavaScript. This will normally tell you which JavaScript (if any) is having problems.
142
 
143
  == Upgrade notice ==
144
+ = 1.4.2 =
145
  Works with responsive templates.
146
 
147
  = 0.700 (1.3.0) =
148
  * Upgrade needed for Rotating Tweets to keep working after May 2013. Supports version 1.1 of the Twitter API.
149
 
150
  == Changelog ==
151
+ = 1.4.2 =
152
+ * Corrected minor error with resizing of `.rtw_meta` div
153
+
154
  = 1.4.1 =
155
  * Now works with responsive formats
156
  * Adjusted width overflow issues
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.4.1
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: 1.4.2
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk