Twitter Widget Pro - Version 1.4.9

Version Description

  • Fixed an uncaught exception that could occur starting in 1.4.8
Download this release

Release Info

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

Code changes from version 1.4.8 to 1.4.9

Files changed (3) hide show
  1. readme.txt +4 -1
  2. upgrade.html +2 -1
  3. wp-twitter-widget.php +2 -2
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.2
7
- Stable tag: 1.4.8
8
 
9
  A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
10
 
@@ -46,6 +46,9 @@ Aparently the database queries required to display the friends feed was causing
46
 
47
  == Changelog ==
48
 
 
 
 
49
  = 1.4.8 =
50
  * The HTML has been changed for displaying profile images. If you show profile images, you may need to update your CSS accordingly
51
  * Changed name of widget from "Twitter Feed" to "Twitter Widget Pro"
4
  Tags: twitter, widget, feed
5
  Requires at least: 2.7
6
  Tested up to: 2.8.2
7
+ Stable tag: 1.4.9
8
 
9
  A widget that properly handles twitter feeds, including parsing @username, #hashtags, and URLs into links. Requires PHP5.
10
 
46
 
47
  == Changelog ==
48
 
49
+ = 1.4.9 =
50
+ * Fixed an uncaught exception that could occur starting in 1.4.8
51
+
52
  = 1.4.8 =
53
  * The HTML has been changed for displaying profile images. If you show profile images, you may need to update your CSS accordingly
54
  * Changed name of widget from "Twitter Feed" to "Twitter Widget Pro"
upgrade.html CHANGED
@@ -1,6 +1,7 @@
1
  <p><a href="http://wordpress.org/extend/plugins/twitter-widget-pro/changelog/">Change Log</a></p>
2
  <ul style="list-style: disc inside; padding: 5px 0 0 15px; font-weight: normal;">
3
- <li style="color:red; font-weight:bold;">The HTML has been changed for displaying profile images. If you show profile images, you may need to update your CSS accordingly</li>
 
4
  <li>Changed name of widget from "Twitter Feed" to "Twitter Widget Pro"</li>
5
  <li>Fixed issue with calculation of "time since" for tweets that were months old</li>
6
  </ul>
1
  <p><a href="http://wordpress.org/extend/plugins/twitter-widget-pro/changelog/">Change Log</a></p>
2
  <ul style="list-style: disc inside; padding: 5px 0 0 15px; font-weight: normal;">
3
+ <li>1.4.9 fixes a small issue with error handling that started in 1.4.8</li>
4
+ <li style="color:red; font-weight:bold;">In 1.4.8 the HTML has been changed for displaying profile images. If you show profile images, you may need to update your CSS accordingly</li>
5
  <li>Changed name of widget from "Twitter Feed" to "Twitter Widget Pro"</li>
6
  <li>Fixed issue with calculation of "time since" for tweets that were months old</li>
7
  </ul>
wp-twitter-widget.php CHANGED
@@ -3,7 +3,7 @@
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, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
6
- * Version: 1.4.8
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  * Text Domain: twitter-widget-pro
@@ -317,7 +317,7 @@ class wpTwitterWidget
317
  $options[$number]['title'] = "Twitter: {$options[$number]['username']}";
318
  }
319
  echo $before_title . $options[$number]['title'] . $after_title;
320
- if (!empty($tweets) && $options[$number]['avatar']) {
321
  echo '<div class="twitter-avatar">';
322
  echo $this->_getProfileImage($tweets[0]->user);
323
  echo '</div>';
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, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
6
+ * Version: 1.4.9
7
  * Author: Aaron D. Campbell
8
  * Author URI: http://xavisys.com/
9
  * Text Domain: twitter-widget-pro
317
  $options[$number]['title'] = "Twitter: {$options[$number]['username']}";
318
  }
319
  echo $before_title . $options[$number]['title'] . $after_title;
320
+ if (!is_a($tweets, 'wpTwitterWidgetException') && !empty($tweets[0]) && $options[$number]['avatar']) {
321
  echo '<div class="twitter-avatar">';
322
  echo $this->_getProfileImage($tweets[0]->user);
323
  echo '</div>';