Version Description
- Header output issue fix
Download this release
Release Info
Developer | ThemePrince |
Plugin | Recent Tweets Widget |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- readme.txt +4 -1
- recent-tweets.php +1 -1
- widget.php +2 -6
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://themeprince.com/
|
|
4 |
Tags: recent tweets, twitter widget, twitter api v1.1, cache
|
5 |
Requires at least: 3.4.1
|
6 |
Tested up to: 3.6
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -39,6 +39,9 @@ You will need to visit [this link](https://dev.twitter.com/apps/ "Twitter"), sig
|
|
39 |
|
40 |
== Changelog ==
|
41 |
|
|
|
|
|
|
|
42 |
= 1.1 =
|
43 |
* Some styling issues were fixed
|
44 |
* Now the script checks if a function already exists
|
4 |
Tags: recent tweets, twitter widget, twitter api v1.1, cache
|
5 |
Requires at least: 3.4.1
|
6 |
Tested up to: 3.6
|
7 |
+
Stable tag: 1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
39 |
|
40 |
== Changelog ==
|
41 |
|
42 |
+
= 1.2 =
|
43 |
+
* Header output issue fix
|
44 |
+
|
45 |
= 1.1 =
|
46 |
* Some styling issues were fixed
|
47 |
* Now the script checks if a function already exists
|
recent-tweets.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Recent Tweets Widget
|
5 |
Plugin URI: http://wordpress.org/extend/plugins/recent-tweets-widget/
|
6 |
Description: Recent Tweets Widget plugin for Twitter API v1.1 with Cache. It uses the new Twitter API v1.1 and stores tweets in the cache. It means that it will read status messages from your database and it doesn't query Twitter.com for every page load so you won't be rate limited. You can set how often you want to update the cache.
|
7 |
-
Version: 1.
|
8 |
Author: Theme Prince
|
9 |
Author URI: http://themeprince.com
|
10 |
*/
|
4 |
Plugin Name: Recent Tweets Widget
|
5 |
Plugin URI: http://wordpress.org/extend/plugins/recent-tweets-widget/
|
6 |
Description: Recent Tweets Widget plugin for Twitter API v1.1 with Cache. It uses the new Twitter API v1.1 and stores tweets in the cache. It means that it will read status messages from your database and it doesn't query Twitter.com for every page load so you won't be rate limited. You can set how often you want to update the cache.
|
7 |
+
Version: 1.2
|
8 |
Author: Theme Prince
|
9 |
Author URI: http://themeprince.com
|
10 |
*/
|
widget.php
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
|
4 |
// widget function
|
5 |
class tp_widget_recent_tweets extends WP_Widget {
|
6 |
|
@@ -153,7 +152,7 @@
|
|
153 |
</select></p>
|
154 |
<p><label>Exclude replies:</label>
|
155 |
<input type="checkbox" name="'.$this->get_field_name( 'excludereplies' ).'" id="'.$this->get_field_id( 'excludereplies' ).'" value="true"';
|
156 |
-
if(esc_attr($instance['excludereplies']) == 'true'){
|
157 |
print ' checked="checked"';
|
158 |
}
|
159 |
print ' /></p>';
|
@@ -232,8 +231,5 @@
|
|
232 |
register_widget('tp_widget_recent_tweets');
|
233 |
}
|
234 |
add_action('init', 'register_tp_twitter_widget', 1)
|
235 |
-
|
236 |
-
|
237 |
|
238 |
-
?>
|
239 |
-
|
1 |
<?php
|
2 |
|
|
|
3 |
// widget function
|
4 |
class tp_widget_recent_tweets extends WP_Widget {
|
5 |
|
152 |
</select></p>
|
153 |
<p><label>Exclude replies:</label>
|
154 |
<input type="checkbox" name="'.$this->get_field_name( 'excludereplies' ).'" id="'.$this->get_field_id( 'excludereplies' ).'" value="true"';
|
155 |
+
if(!empty($instance['excludereplies']) && esc_attr($instance['excludereplies']) == 'true'){
|
156 |
print ' checked="checked"';
|
157 |
}
|
158 |
print ' /></p>';
|
231 |
register_widget('tp_widget_recent_tweets');
|
232 |
}
|
233 |
add_action('init', 'register_tp_twitter_widget', 1)
|
|
|
|
|
234 |
|
235 |
+
?>
|
|