Rotating Tweets (Twitter widget and shortcode) - Version 1.6.11

Version Description

  • New code to shrink size of cache by about 70%

=

Download this release

Release Info

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

Code changes from version 1.6.10 to 1.6.11

Files changed (2) hide show
  1. readme.txt +6 -3
  2. rotatingtweets.php +2 -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,animation,jquery,jquery cycle,cycle,multilingual,responsive
5
  Requires at least: 2.6
6
- Tested up to: 3.8.1
7
- Stable tag: 1.6.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -163,10 +163,13 @@ into your CSS - changing `123px;` to the width you're aiming at - either via put
163
  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.
164
 
165
  == Upgrade notice ==
166
- = 1.6.10 =
167
  * New code to shrink size of cache by about 70%
168
 
169
  == Changelog ==
 
 
 
170
  = 1.6.10 =
171
  * New code to shrink size of cache by about 70%
172
 
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,animation,jquery,jquery cycle,cycle,multilingual,responsive
5
  Requires at least: 2.6
6
+ Tested up to: 3.9
7
+ Stable tag: 1.6.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
163
  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.
164
 
165
  == Upgrade notice ==
166
+ = 1.6.11 =
167
  * New code to shrink size of cache by about 70%
168
 
169
  == Changelog ==
170
+ = 1.6.11 =
171
+ * Fixing cache bug with 'user_mentions'
172
+
173
  = 1.6.10 =
174
  * New code to shrink size of cache by about 70%
175
 
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.6.10
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk
@@ -1110,7 +1110,7 @@ function rotatingtweets_shrink_user($user) {
1110
  return($return);
1111
  }
1112
  function rotatingtweets_shrink_entities($json) {
1113
- $rt_entity_elements = array('urls','media');
1114
  $return = array();
1115
  foreach($rt_entity_elements as $rt_element):
1116
  if(isset($json[$rt_element])) $return[$rt_element]=$json[$rt_element];
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.6.11
6
  Text Domain: rotatingtweets
7
  Author: Martin Tod
8
  Author URI: http://www.martintod.org.uk
1110
  return($return);
1111
  }
1112
  function rotatingtweets_shrink_entities($json) {
1113
+ $rt_entity_elements = array('urls','media','user_mentions');
1114
  $return = array();
1115
  foreach($rt_entity_elements as $rt_element):
1116
  if(isset($json[$rt_element])) $return[$rt_element]=$json[$rt_element];