oAuth Twitter Feed for Developers - Version 2.1.3

Version Description

  • Fixes 2.1 for people using the very old getTweets($int) syntax. You should still change to the new version, but this will at least not be broken!
Download this release

Release Info

Developer stormuk
Plugin Icon wp plugin oAuth Twitter Feed for Developers
Version 2.1.3
Comparing to
See all releases

Code changes from version 2.1.2 to 2.1.3

README.md CHANGED
@@ -60,7 +60,7 @@ Uses Abraham Williams's Twitter OAuth class.
60
  About
61
  =====
62
 
63
- Version: 2.1.2
64
 
65
  Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
66
 
60
  About
61
  =====
62
 
63
+ Version: 2.1.3
64
 
65
  Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
66
 
StormTwitter.class.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /*
3
- * Version 2.1
4
  * The base class for the storm twitter feed for developers.
5
  * This class provides all the things needed for the wordpress plugin, but in theory means you don't need to use it with wordpress.
6
  * What could go wrong?
@@ -47,7 +47,7 @@ class StormTwitter {
47
  $options = array_merge($default_options, $options);
48
  }
49
 
50
- if ($screenname === false) $screenname = $this->defaults['screenname'];
51
 
52
  $result = $this->checkValidCache($screenname,$options);
53
 
1
  <?php
2
  /*
3
+ * Version 2.1.3
4
  * The base class for the storm twitter feed for developers.
5
  * This class provides all the things needed for the wordpress plugin, but in theory means you don't need to use it with wordpress.
6
  * What could go wrong?
47
  $options = array_merge($default_options, $options);
48
  }
49
 
50
+ if ($screenname === false || $screenname === 20) $screenname = $this->defaults['screenname'];
51
 
52
  $result = $this->checkValidCache($screenname,$options);
53
 
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://www.stormconsultancy.co.uk/
4
  Tags: twitter, oauth, feed, tweets
5
  Requires at least: 3.4
6
  Tested up to: 3.8
7
- Stable tag: 2.1.2
8
- Version: 2.1.2
9
  License: MIT
10
  License URI: http://opensource.org/licenses/MIT
11
 
@@ -66,7 +66,7 @@ Uses Abraham Williams's Twitter OAuth class.
66
 
67
  == About ==
68
 
69
- Version: 2.1.1
70
 
71
  Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
72
 
@@ -100,6 +100,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
100
 
101
  == Changelog ==
102
 
 
 
 
103
  = 2.1.2 =
104
  * Just a version bump - I'm the worst at remembering to update all the right places.
105
 
4
  Tags: twitter, oauth, feed, tweets
5
  Requires at least: 3.4
6
  Tested up to: 3.8
7
+ Stable tag: 2.1.3
8
+ Version: 2.1.3
9
  License: MIT
10
  License URI: http://opensource.org/licenses/MIT
11
 
66
 
67
  == About ==
68
 
69
+ Version: 2.1.3
70
 
71
  Written by Liam Gladdy of Storm Consultancy - <http://www.stormconsultancy.co.uk>
72
 
100
 
101
  == Changelog ==
102
 
103
+ = 2.1.3 =
104
+ * Fixes 2.1 for people using the very old getTweets($int) syntax. You should still change to the new version, but this will at least not be broken!
105
+
106
  = 2.1.2 =
107
  * Just a version bump - I'm the worst at remembering to update all the right places.
108
 
twitter-feed-for-developers-settings.php CHANGED
@@ -56,7 +56,7 @@ function tdf_settings_output() {
56
  echo '</tr>';
57
  if ($setting['name'] == 'tdf_user_timeline') {
58
  echo '<tr>';
59
- echo '<td colspan="2" style="font-size:10px; font-style: italic">This option is no longer required. You may define the screen name to load as part of the getTweets() call as detailed above.</td>';
60
  echo '</tr>';
61
  }
62
  }
56
  echo '</tr>';
57
  if ($setting['name'] == 'tdf_user_timeline') {
58
  echo '<tr>';
59
+ echo '<td colspan="2" style="font-size:10px; font-style: italic">This option is no longer required and is deprecated. You should define the screen name to load as part of the getTweets() call as detailed above.</td>';
60
  echo '</tr>';
61
  }
62
  }
twitter-feed-for-developers.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: oAuth Twitter Feed for Developers
4
  Description: Twitter API 1.1 compliant plugin that provides a function to get an array of tweets from the auth'd users Twitter feed for use in themes.
5
- Version: 2.1.2
6
  License: MIT
7
  License URI: http://opensource.org/licenses/MIT
8
  Author: Storm Consultancy (Liam Gladdy)
2
  /*
3
  Plugin Name: oAuth Twitter Feed for Developers
4
  Description: Twitter API 1.1 compliant plugin that provides a function to get an array of tweets from the auth'd users Twitter feed for use in themes.
5
+ Version: 2.1.3
6
  License: MIT
7
  License URI: http://opensource.org/licenses/MIT
8
  Author: Storm Consultancy (Liam Gladdy)