Twitter Widget Pro - Version 2.3.1

Version Description

Fixes an issue with the intents and follow settings not being saved

Download this release

Release Info

Developer aaroncampbell
Plugin Icon wp plugin Twitter Widget Pro
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3.0 to 2.3.1

Files changed (2) hide show
  1. readme.txt +7 -1
  2. wp-twitter-widget.php +5 -1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=paypal%4
4
  Tags: twitter, widget, feed
5
  Requires at least: 3.0
6
  Tested up to: 3.3.0
7
- Stable tag: 2.3.0
8
 
9
  A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
10
 
@@ -131,6 +131,9 @@ Aparently the database queries required to display the friends feed was causing
131
 
132
  == Upgrade Notice ==
133
 
 
 
 
134
  = 2.3.0 =
135
  Fewer "could not connect to Twitter" messages, new links (reply, retweet, favorite), new follow button, and avatar fixes
136
 
@@ -139,6 +142,9 @@ Uses new API urls, new "hide replies" support in the API, can show retweets, sup
139
 
140
  == Changelog ==
141
 
 
 
 
142
  = 2.3.0 =
143
  * Integrate Mark Jaquith's TLC Transients https://gist.github.com/1149945 which lets us only get rid of old tweets once we have successfully received new ones.
144
  * Add Twitter Web Intents (reply, retweet, favorite)
4
  Tags: twitter, widget, feed
5
  Requires at least: 3.0
6
  Tested up to: 3.3.0
7
+ Stable tag: 2.3.1
8
 
9
  A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
10
 
131
 
132
  == Upgrade Notice ==
133
 
134
+ = 2.3.1 =
135
+ Fixes an issue with the intents and follow settings not being saved
136
+
137
  = 2.3.0 =
138
  Fewer "could not connect to Twitter" messages, new links (reply, retweet, favorite), new follow button, and avatar fixes
139
 
142
 
143
  == Changelog ==
144
 
145
+ = 2.3.1 =
146
+ * Fixes issue with saving a couple of the settings (tweet intents and follow button)
147
+
148
  = 2.3.0 =
149
  * Integrate Mark Jaquith's TLC Transients https://gist.github.com/1149945 which lets us only get rid of old tweets once we have successfully received new ones.
150
  * Add Twitter Web Intents (reply, retweet, favorite)
wp-twitter-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Twitter Widget Pro
4
  * Plugin URI: http://xavisys.com/wordpress-plugins/wordpress-twitter-widget/
5
  * Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
6
- * Version: 2.3.0
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  * License: GPLv2 or later
@@ -102,10 +102,12 @@ class WP_Widget_Twitter_Pro extends WP_Widget {
102
  <label for="<?php echo $this->get_field_id( 'hidefrom' ); ?>"><?php _e( 'Hide sending applications', $this->_slug ); ?></label>
103
  </p>
104
  <p>
 
105
  <input class="checkbox" type="checkbox" value="true" id="<?php echo $this->get_field_id( 'showintents' ); ?>" name="<?php echo $this->get_field_name( 'showintents' ); ?>"<?php checked( $instance['showintents'], 'true' ); ?> />
106
  <label for="<?php echo $this->get_field_id( 'showintents' ); ?>"><?php _e( 'Show Tweet Intents (reply, retweet, favorite)', $this->_slug ); ?></label>
107
  </p>
108
  <p>
 
109
  <input class="checkbox" type="checkbox" value="true" id="<?php echo $this->get_field_id( 'showfollow' ); ?>" name="<?php echo $this->get_field_name( 'showfollow' ); ?>"<?php checked( $instance['showfollow'], 'true' ); ?> />
110
  <label for="<?php echo $this->get_field_id( 'showfollow' ); ?>"><?php _e( 'Show Follow Link', $this->_slug ); ?></label>
111
  </p>
@@ -330,9 +332,11 @@ class wpTwitterWidget extends XavisysPlugin {
330
  <input class="checkbox" type="checkbox" value="true" id="twp_hidefrom" name="twp[hidefrom]"<?php checked( $this->_settings['twp']['hidefrom'], 'true' ); ?> />
331
  <label for="twp_hidefrom"><?php _e( 'Hide sending applications', $this->_slug ); ?></label>
332
  <br />
 
333
  <input class="checkbox" type="checkbox" value="true" id="twp_showintents" name="twp[showintents]"<?php checked( $this->_settings['twp']['showintents'], 'true' ); ?> />
334
  <label for="twp_showintents"><?php _e( 'Show Tweet Intents (reply, retweet, favorite)', $this->_slug ); ?></label>
335
  <br />
 
336
  <input class="checkbox" type="checkbox" value="true" id="twp_showfollow" name="twp[showfollow]"<?php checked( $this->_settings['twp']['showfollow'], 'true' ); ?> />
337
  <label for="twp_showfollow"><?php _e( 'Show Follow Link', $this->_slug ); ?></label>
338
  <br />
3
  * Plugin Name: Twitter Widget Pro
4
  * Plugin URI: http://xavisys.com/wordpress-plugins/wordpress-twitter-widget/
5
  * Description: A widget that properly handles twitter feeds, including @username, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
6
+ * Version: 2.3.1
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  * License: GPLv2 or later
102
  <label for="<?php echo $this->get_field_id( 'hidefrom' ); ?>"><?php _e( 'Hide sending applications', $this->_slug ); ?></label>
103
  </p>
104
  <p>
105
+ <input type="hidden" value="false" name="<?php echo $this->get_field_name( 'showintents' ); ?>" />
106
  <input class="checkbox" type="checkbox" value="true" id="<?php echo $this->get_field_id( 'showintents' ); ?>" name="<?php echo $this->get_field_name( 'showintents' ); ?>"<?php checked( $instance['showintents'], 'true' ); ?> />
107
  <label for="<?php echo $this->get_field_id( 'showintents' ); ?>"><?php _e( 'Show Tweet Intents (reply, retweet, favorite)', $this->_slug ); ?></label>
108
  </p>
109
  <p>
110
+ <input type="hidden" value="false" name="<?php echo $this->get_field_name( 'showfollow' ); ?>" />
111
  <input class="checkbox" type="checkbox" value="true" id="<?php echo $this->get_field_id( 'showfollow' ); ?>" name="<?php echo $this->get_field_name( 'showfollow' ); ?>"<?php checked( $instance['showfollow'], 'true' ); ?> />
112
  <label for="<?php echo $this->get_field_id( 'showfollow' ); ?>"><?php _e( 'Show Follow Link', $this->_slug ); ?></label>
113
  </p>
332
  <input class="checkbox" type="checkbox" value="true" id="twp_hidefrom" name="twp[hidefrom]"<?php checked( $this->_settings['twp']['hidefrom'], 'true' ); ?> />
333
  <label for="twp_hidefrom"><?php _e( 'Hide sending applications', $this->_slug ); ?></label>
334
  <br />
335
+ <input type="hidden" value="false" name="twp[showintents]" />
336
  <input class="checkbox" type="checkbox" value="true" id="twp_showintents" name="twp[showintents]"<?php checked( $this->_settings['twp']['showintents'], 'true' ); ?> />
337
  <label for="twp_showintents"><?php _e( 'Show Tweet Intents (reply, retweet, favorite)', $this->_slug ); ?></label>
338
  <br />
339
+ <input type="hidden" value="false" name="twp[showfollow]" />
340
  <input class="checkbox" type="checkbox" value="true" id="twp_showfollow" name="twp[showfollow]"<?php checked( $this->_settings['twp']['showfollow'], 'true' ); ?> />
341
  <label for="twp_showfollow"><?php _e( 'Show Follow Link', $this->_slug ); ?></label>
342
  <br />