Twitter Widget Pro - Version 1.3.2

Version Description

Download this release

Release Info

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

Code changes from version 1.3.1 to 1.3.2

Files changed (2) hide show
  1. readme.txt +1 -1
  2. wp-twitter-widget.php +7 -3
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: 2.7
6
  Tested up to: 2.8
7
- Stable tag: 1.3.1
8
 
9
  A widget that properly handles twitter feeds, including parsing @username and URLs into links. Requires PHP5.
10
 
4
  Tags: twitter, widget, feed
5
  Requires at least: 2.7
6
  Tested up to: 2.8
7
+ Stable tag: 1.3.2
8
 
9
  A widget that properly handles twitter feeds, including parsing @username and URLs into links. Requires PHP5.
10
 
wp-twitter-widget.php CHANGED
@@ -3,15 +3,18 @@
3
  * Plugin Name: Twitter Widget Pro
4
  * Plugin URI: http://xavisys.com/wordpress-twitter-widget/
5
  * Description: A widget that properly handles twitter feeds, including @username and link parsing, and can even display profile images for the users. Requires PHP5.
6
- * Version: 1.3.1
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  */
10
 
11
- define('TWP_VERSION', '1.3.1');
12
 
13
  /**
14
  * Changelog:
 
 
 
15
  * 04/22/2009: 1.3.1
16
  * - Added error handling after wp_remote_request call
17
  * - Added link to Twitter Widget Pro page and option to turn it off per widget
@@ -419,7 +422,6 @@ profileImage;
419
  $options = array();
420
 
421
  if ( !$updated && !empty($_POST['sidebar']) ) {
422
- echo 'HERE!!!!!';
423
  $sidebar = (string) $_POST['sidebar'];
424
 
425
  $sidebars_widgets = wp_get_sidebars_widgets();
@@ -439,6 +441,8 @@ profileImage;
439
  foreach ( (array) $_POST['widget-twitter'] as $widget_number => $widget_twitter ) {
440
  if ( !isset($widget_twitter['username']) && isset($options[$widget_number]) ) // user clicked cancel
441
  continue;
 
 
442
  $widget_twitter['title'] = stripslashes($widget_twitter['title']);
443
  $widget_twitter['errmsg'] = stripslashes($widget_twitter['errmsg']);
444
  if ( !current_user_can('unfiltered_html') ) {
3
  * Plugin Name: Twitter Widget Pro
4
  * Plugin URI: http://xavisys.com/wordpress-twitter-widget/
5
  * Description: A widget that properly handles twitter feeds, including @username and link parsing, and can even display profile images for the users. Requires PHP5.
6
+ * Version: 1.3.2
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  */
10
 
11
+ define('TWP_VERSION', '1.3.2');
12
 
13
  /**
14
  * Changelog:
15
+ * 04/22/2009: 1.3.2
16
+ * - Fixed problem with link to Twitter Widget Pro page not turning off
17
+ *
18
  * 04/22/2009: 1.3.1
19
  * - Added error handling after wp_remote_request call
20
  * - Added link to Twitter Widget Pro page and option to turn it off per widget
422
  $options = array();
423
 
424
  if ( !$updated && !empty($_POST['sidebar']) ) {
 
425
  $sidebar = (string) $_POST['sidebar'];
426
 
427
  $sidebars_widgets = wp_get_sidebars_widgets();
441
  foreach ( (array) $_POST['widget-twitter'] as $widget_number => $widget_twitter ) {
442
  if ( !isset($widget_twitter['username']) && isset($options[$widget_number]) ) // user clicked cancel
443
  continue;
444
+
445
+ $widget_twitter['showXavisysLink'] = empty($widget_twitter['showXavisysLink']);
446
  $widget_twitter['title'] = stripslashes($widget_twitter['title']);
447
  $widget_twitter['errmsg'] = stripslashes($widget_twitter['errmsg']);
448
  if ( !current_user_can('unfiltered_html') ) {