Version Description
Download this release
Release Info
Developer | aaroncampbell |
Plugin | Twitter Widget Pro |
Version | 1.3.7 |
Comparing to | |
See all releases |
Code changes from version 1.3.6 to 1.3.7
- readme.txt +1 -1
- wp-twitter-widget.php +20 -9
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.
|
8 |
|
9 |
A widget that properly handles twitter feeds, including parsing @username, #hashtags, 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.7
|
8 |
|
9 |
A widget that properly handles twitter feeds, including parsing @username, #hashtags, 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, #hashtag, and link parsing. It can even display profile images for the users. Requires PHP5.
|
6 |
-
* Version: 1.3.
|
7 |
* Author: Aaron D. Campbell
|
8 |
* Author URI: http://xavisys.com/
|
9 |
*/
|
10 |
|
11 |
-
define('TWP_VERSION', '1.3.
|
12 |
|
13 |
/**
|
14 |
* Changelog:
|
|
|
|
|
|
|
15 |
* 06/08/2009: 1.3.6
|
16 |
* - Fixes issue with linking URLs containing a ~
|
17 |
* - Removed some debugging stuff
|
@@ -369,17 +372,25 @@ class wpTwitterWidget
|
|
369 |
<li>
|
370 |
<span class="entry-content"><?php echo apply_filters( 'widget_twitter_content', $tweet->text ); ?></span>
|
371 |
<span class="entry-meta">
|
372 |
-
<
|
373 |
-
|
374 |
-
|
375 |
-
|
|
|
|
|
|
|
|
|
|
|
376 |
if (!empty($tweet->in_reply_to_screen_name)) {
|
377 |
echo <<<replyTo
|
378 |
-
<
|
379 |
-
|
380 |
-
|
|
|
|
|
381 |
replyTo;
|
382 |
} ?>
|
|
|
383 |
</span>
|
384 |
</li>
|
385 |
<?php
|
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.3.7
|
7 |
* Author: Aaron D. Campbell
|
8 |
* Author URI: http://xavisys.com/
|
9 |
*/
|
10 |
|
11 |
+
define('TWP_VERSION', '1.3.7');
|
12 |
|
13 |
/**
|
14 |
* Changelog:
|
15 |
+
* 06/08/2009: 1.3.7
|
16 |
+
* - Added some spans with classes to make styling to meta data easier
|
17 |
+
*
|
18 |
* 06/08/2009: 1.3.6
|
19 |
* - Fixes issue with linking URLs containing a ~
|
20 |
* - Removed some debugging stuff
|
372 |
<li>
|
373 |
<span class="entry-content"><?php echo apply_filters( 'widget_twitter_content', $tweet->text ); ?></span>
|
374 |
<span class="entry-meta">
|
375 |
+
<span class="time-meta">
|
376 |
+
<a href="http://twitter.com/<?php echo $tweet->user->screen_name; ?>/statuses/<?php echo $tweet->id; ?>">
|
377 |
+
<?php echo $tweet->ago; ?>
|
378 |
+
</a>
|
379 |
+
</span>
|
380 |
+
<span class="from-meta">
|
381 |
+
from <?php echo str_replace('&', '&', $tweet->source); ?>
|
382 |
+
</span>
|
383 |
+
<?php
|
384 |
if (!empty($tweet->in_reply_to_screen_name)) {
|
385 |
echo <<<replyTo
|
386 |
+
<span class="in-reply-to-meta">
|
387 |
+
<a href="http://twitter.com/{$tweet->in_reply_to_screen_name}/statuses/{$tweet->in_reply_to_status_id}" class="reply-to">
|
388 |
+
in reply to {$tweet->in_reply_to_screen_name}
|
389 |
+
</a>
|
390 |
+
</span>
|
391 |
replyTo;
|
392 |
} ?>
|
393 |
+
|
394 |
</span>
|
395 |
</li>
|
396 |
<?php
|