Latest Tweets Widget - Version 1.0.12

Version Description

  • Critical bug fix affecting some older versions of PHP
Download this release

Release Info

Developer timwhitlock
Plugin Icon 128x128 Latest Tweets Widget
Version 1.0.12
Comparing to
See all releases

Code changes from version 1.0.11 to 1.0.12

Files changed (2) hide show
  1. latest-tweets.php +3 -2
  2. readme.txt +6 -3
latest-tweets.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Latest Tweets
4
  Plugin URI: http://wordpress.org/extend/plugins/latest-tweets-widget/
5
  Description: Provides a sidebar widget showing latest tweets - compatible with the new Twitter API 1.1
6
  Author: Tim Whitlock
7
- Version: 1.0.11
8
  Author URI: http://timwhitlock.info/
9
  */
10
 
@@ -27,7 +27,8 @@ function latest_tweets_render( $screen_name, $count, $rts, $ats ){
27
  // caching full data set, not just twitter api caching
28
  $cachettl = (int) apply_filters('latest_tweets_cache_seconds', 300 );
29
  if( $cachettl ){
30
- $cachekey = 'latest_tweets_'.implode('_', func_get_args() );
 
31
  if( ! function_exists('_twitter_api_cache_get') ){
32
  twitter_api_include('core');
33
  }
4
  Plugin URI: http://wordpress.org/extend/plugins/latest-tweets-widget/
5
  Description: Provides a sidebar widget showing latest tweets - compatible with the new Twitter API 1.1
6
  Author: Tim Whitlock
7
+ Version: 1.0.12
8
  Author URI: http://timwhitlock.info/
9
  */
10
 
27
  // caching full data set, not just twitter api caching
28
  $cachettl = (int) apply_filters('latest_tweets_cache_seconds', 300 );
29
  if( $cachettl ){
30
+ $arguments = func_get_args();
31
+ $cachekey = 'latest_tweets_'.implode('_', $arguments );
32
  if( ! function_exists('_twitter_api_cache_get') ){
33
  twitter_api_include('core');
34
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://timwhitlock.info/donate-to-a-project/
4
  Tags: twitter, tweets, oauth, api, rest, api, widget, sidebar
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
- Stable tag: 1.0.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -75,6 +75,9 @@ Do so at your own risk.
75
 
76
  == Changelog ==
77
 
 
 
 
78
  = 1.0.11 =
79
  * Better fulfillment of tweet count when skipping retwteets and replies
80
  * Manual RTs now excluded when "Show Retweets" is disabled
@@ -119,8 +122,8 @@ Do so at your own risk.
119
 
120
  == Upgrade Notice ==
121
 
122
- = 1.0.11 =
123
- * Important bug fixes, upgrade highly recommended
124
 
125
 
126
  == Shortcodes ==
4
  Tags: twitter, tweets, oauth, api, rest, api, widget, sidebar
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
+ Stable tag: 1.0.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
75
 
76
  == Changelog ==
77
 
78
+ = 1.0.12 =
79
+ * Critical bug fix affecting some older versions of PHP
80
+
81
  = 1.0.11 =
82
  * Better fulfillment of tweet count when skipping retwteets and replies
83
  * Manual RTs now excluded when "Show Retweets" is disabled
122
 
123
  == Upgrade Notice ==
124
 
125
+ = 1.0.12 =
126
+ * Important bug fixes and improvements, upgrade recommended.
127
 
128
 
129
  == Shortcodes ==