Simple Twitter Tweets - Version 3.3

Version Description

  • [Fixed] PHP deprecated functions (notice) added PHP 5 construction references
Download this release

Release Info

Developer Planet Interactive
Plugin Icon 128x128 Simple Twitter Tweets
Version 3.3
Comparing to
See all releases

Code changes from version 3.2 to 3.3

Files changed (2) hide show
  1. README.txt +5 -2
  2. simple-twitter-tweets.php +4 -4
README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Planet Interactive
3
  Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A9437VN7R36VN
4
  Tags: Twitter, Stream, Tweets, Twitter OAuth, social
5
  Requires at least: 3.0
6
- Tested up to: 3.9.2
7
- Stable tag: 3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -129,6 +129,9 @@ We've tested it and as far as we know it works great! Phew, but if you have an i
129
  9. Style how you like, "Your Tweets your way"
130
 
131
  == Changelog ==
 
 
 
132
  = 3.2 =
133
  * [Added] SSL reference for avatar (profile pic) images for secure pages
134
  * [Added] Check for data retrieval, handles foreach warning (bullet proof old bug)
3
  Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A9437VN7R36VN
4
  Tags: Twitter, Stream, Tweets, Twitter OAuth, social
5
  Requires at least: 3.0
6
+ Tested up to: 4.3
7
+ Stable tag: 3.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
129
  9. Style how you like, "Your Tweets your way"
130
 
131
  == Changelog ==
132
+ = 3.3 =
133
+ * [Fixed] PHP deprecated functions (notice) added PHP 5 construction references
134
+
135
  = 3.2 =
136
  * [Added] SSL reference for avatar (profile pic) images for secure pages
137
  * [Added] Check for data retrieval, handles foreach warning (bullet proof old bug)
simple-twitter-tweets.php CHANGED
@@ -4,11 +4,11 @@ Plugin Name: Simple Twitter Tweets
4
  Plugin URI: http://www.planet-interactive.co.uk/simple-twitter-tweets
5
  Description: Display last x number tweets from Twitter API stream, store locally in database to present past tweets when failure to access Twitters restrictive API occurs
6
  Author: Ashley Sheinwald
7
- Version: 3.2
8
  Author URI: http://www.planet-interactive.co.uk/
9
  */
10
 
11
- /* Copyright 2014 Ashley Sheinwald (email : ashley@planet-interactive.co.uk)
12
 
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License, version 2, as
@@ -33,10 +33,10 @@ Author URI: http://www.planet-interactive.co.uk/
33
 
34
  class PI_SimpleTwitterTweets extends WP_Widget{
35
 
36
- function PI_SimpleTwitterTweets() {
37
  $widget_ops = array('classname' => 'PI_SimpleTwitterTweets', 'description' => 'Displays the most recent tweets from your Twitter Stream' );
38
  //$control_ops = array( 'width' => 300, 'height' => 350, 'id_base' => 'Not-required-this-time' );
39
- $this->WP_Widget('PI_SimpleTwitterTweets', 'Simple Twitter Tweets', $widget_ops);
40
 
41
  // Load (enqueue) some JS in Admin ONLY on widgets page
42
  add_action('admin_enqueue_scripts', array(&$this, 'PI_load_admin_scripts'));
4
  Plugin URI: http://www.planet-interactive.co.uk/simple-twitter-tweets
5
  Description: Display last x number tweets from Twitter API stream, store locally in database to present past tweets when failure to access Twitters restrictive API occurs
6
  Author: Ashley Sheinwald
7
+ Version: 3.3
8
  Author URI: http://www.planet-interactive.co.uk/
9
  */
10
 
11
+ /* Copyright 2014-2015 Ashley Sheinwald (email : ashley@planet-interactive.co.uk)
12
 
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License, version 2, as
33
 
34
  class PI_SimpleTwitterTweets extends WP_Widget{
35
 
36
+ function __construct() {
37
  $widget_ops = array('classname' => 'PI_SimpleTwitterTweets', 'description' => 'Displays the most recent tweets from your Twitter Stream' );
38
  //$control_ops = array( 'width' => 300, 'height' => 350, 'id_base' => 'Not-required-this-time' );
39
+ parent::__construct('PI_SimpleTwitterTweets', 'Simple Twitter Tweets', $widget_ops);
40
 
41
  // Load (enqueue) some JS in Admin ONLY on widgets page
42
  add_action('admin_enqueue_scripts', array(&$this, 'PI_load_admin_scripts'));