Latest Tweets Widget - Version 1.0.2

Version Description

  • Fixed hook for PHP < 5.3

=

Download this release

Release Info

Developer timwhitlock
Plugin Icon 128x128 Latest Tweets Widget
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

Files changed (2) hide show
  1. latest-tweets.php +7 -3
  2. readme.txt +12 -5
latest-tweets.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
  /*
3
  Plugin Name: Latest Tweets
4
- Plugin URI: https://github.com/timwhitlock/wp-twitter-api
5
  Description: Provides a sidebar widget showing latest tweets - compatible with the new Twitter API 1.1
6
  Author: Tim Whitlock
7
- Version: 1
8
  Author URI: http://timwhitlock.info/
9
  */
10
 
@@ -115,7 +115,11 @@ class Latest_Tweets_Widget extends WP_Widget {
115
 
116
 
117
 
118
- add_action( 'widgets_init', function(){ return register_widget('Latest_Tweets_Widget'); } );
 
 
 
 
119
 
120
 
121
  if( is_admin() ){
1
  <?php
2
  /*
3
  Plugin Name: Latest Tweets
4
+ Plugin URI: http://wordpress.org/extend/plugins/latest-tweets-widget/
5
  Description: Provides a sidebar widget showing latest tweets - compatible with the new Twitter API 1.1
6
  Author: Tim Whitlock
7
+ Version: 1.0.2
8
  Author URI: http://timwhitlock.info/
9
  */
10
 
115
 
116
 
117
 
118
+ function latest_tweets_register_widget(){
119
+ return register_widget('Latest_Tweets_Widget');
120
+ }
121
+
122
+ add_action( 'widgets_init', 'latest_tweets_register_widget' );
123
 
124
 
125
  if( is_admin() ){
readme.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Plugin Name ===
2
  Contributors: timwhitlock
3
- Donate link: http://timwhitlock.info
4
- Tags: twitter, tweets, oauth, api, rest, api, widget
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
  Stable tag: trunk
@@ -17,6 +17,9 @@ Connect your Twitter account to this plugin and the widget will display your lat
17
  This plugin is compatible with the new Twitter API 1.1 and provides full authentication via the Wordpress admin area.
18
 
19
 
 
 
 
20
  == Installation ==
21
 
22
  1. Unzip all files to the `/wp-content/plugins/` directory
@@ -39,12 +42,16 @@ Once your site is authenticated you can configure the widget as follows:
39
 
40
  == Changelog ==
41
 
42
- = 1.0 =
43
  * First public release
44
 
45
- = 1.0.1 =
46
- * Added banner jpeg
47
 
48
  == Credits ==
49
 
50
  Screenshot taken with permission from http://stayingalivefoundation.org/blog
 
 
 
 
1
  === Plugin Name ===
2
  Contributors: timwhitlock
3
+ Donate link: http://timwhitlock.info/donate-to-a-project/
4
+ Tags: twitter, tweets, oauth, api, rest, api, widget, sidebar
5
  Requires at least: 3.5.1
6
  Tested up to: 3.5.1
7
  Stable tag: trunk
17
  This plugin is compatible with the new Twitter API 1.1 and provides full authentication via the Wordpress admin area.
18
 
19
 
20
+ Built by [timwhitlock](https://twitter.com/timwhitlock)
21
+
22
+
23
  == Installation ==
24
 
25
  1. Unzip all files to the `/wp-content/plugins/` directory
42
 
43
  == Changelog ==
44
 
45
+ = 1.0.1 =
46
  * First public release
47
 
48
+ = 1.0.2 =
49
+ * Fixed hook for PHP < 5.3
50
 
51
  == Credits ==
52
 
53
  Screenshot taken with permission from http://stayingalivefoundation.org/blog
54
+
55
+ == Notes ==
56
+
57
+ Be aware of [Twitter's display requirements](https://dev.twitter.com/terms/display-requirements) when rendering tweets on your website.