Version Description
Includes an important upgrade needed for Rotating Tweets to keep working after March 2013. Fixed problem with hashtags.
=
Download this release
Release Info
Developer | mpntod |
Plugin | Rotating Tweets (Twitter widget and shortcode) |
Version | 1.3.15 |
Comparing to | |
See all releases |
Code changes from version 1.3.14 to 1.3.15
- readme.txt +5 -2
- rotatingtweets.php +2 -2
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 3.5
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -118,10 +118,13 @@ If there is only one copy of `jquery` and of `jquery.cycle` on your page, the be
|
|
118 |
1. Read the diagnostics and look for any problems that relate to JavaScript. This will normally tell you which JavaScript (if any) is having problems.
|
119 |
|
120 |
== Upgrade notice ==
|
121 |
-
= 1.3.
|
122 |
Includes an important upgrade needed for Rotating Tweets to keep working after March 2013. Fixed problem with hashtags.
|
123 |
|
124 |
== Changelog ==
|
|
|
|
|
|
|
125 |
= 1.3.14 =
|
126 |
Fixes accents in hashtags (hopefully). Adds beta of search to the API. Adds new format of Tweet display.
|
127 |
|
4 |
Tags: shortcode,widget,twitter,rotating,rotate,rotator,tweet,tweets,animation,jquery,jquery cycle,cycle,multilingual
|
5 |
Requires at least: 2.6
|
6 |
Tested up to: 3.5
|
7 |
+
Stable tag: 1.3.15
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
118 |
1. Read the diagnostics and look for any problems that relate to JavaScript. This will normally tell you which JavaScript (if any) is having problems.
|
119 |
|
120 |
== Upgrade notice ==
|
121 |
+
= 1.3.15 =
|
122 |
Includes an important upgrade needed for Rotating Tweets to keep working after March 2013. Fixed problem with hashtags.
|
123 |
|
124 |
== Changelog ==
|
125 |
+
= 1.3.15 =
|
126 |
+
Minor correction to hashtag code
|
127 |
+
|
128 |
= 1.3.14 =
|
129 |
Fixes accents in hashtags (hopefully). Adds beta of search to the API. Adds new format of Tweet display.
|
130 |
|
rotatingtweets.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Rotating Tweets (Twitter widget & shortcode)
|
4 |
Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
|
5 |
-
Version: 1.3.
|
6 |
Text Domain: rotatingtweets
|
7 |
Author: Martin Tod
|
8 |
Author URI: http://www.martintod.org.uk
|
@@ -924,7 +924,7 @@ function rotating_tweets_display($json,$args,$print=TRUE) {
|
|
924 |
endforeach;
|
925 |
endif;
|
926 |
// $before[]="%#([0-9]*[\p{L}a-zA-Z_]+\w*)%";
|
927 |
-
$before[]="%#(\d*[^\d\s[:punct:]]+[^\s[:punct:]]
|
928 |
$after[]='<a href="http://twitter.com/search?q=%23$1&src=hash" title="#$1"'.$targetvalue.'>#$1</a>';
|
929 |
$main_text = preg_replace($before,$after,$main_text);
|
930 |
|
2 |
/*
|
3 |
Plugin Name: Rotating Tweets (Twitter widget & shortcode)
|
4 |
Description: Replaces a shortcode such as [rotatingtweets screen_name='your_twitter_name'], or a widget, with a rotating tweets display
|
5 |
+
Version: 1.3.15
|
6 |
Text Domain: rotatingtweets
|
7 |
Author: Martin Tod
|
8 |
Author URI: http://www.martintod.org.uk
|
924 |
endforeach;
|
925 |
endif;
|
926 |
// $before[]="%#([0-9]*[\p{L}a-zA-Z_]+\w*)%";
|
927 |
+
$before[]="%#(\d*[^\d\s[:punct:]]+[^\s[:punct:]]*)%";
|
928 |
$after[]='<a href="http://twitter.com/search?q=%23$1&src=hash" title="#$1"'.$targetvalue.'>#$1</a>';
|
929 |
$main_text = preg_replace($before,$after,$main_text);
|
930 |
|