Skip to content

Commit

Permalink
Version 1.5.4 - fix for deprecated WP_Widget constructor call
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffikus committed Jul 7, 2015
1 parent d4954ef commit cc2ba3c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion classes/class-woothemes-widget-testimonials.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct() {
$control_ops = array( 'width' => 250, 'height' => 350, 'id_base' => $this->woothemes_widget_idbase );

/* Create the widget. */
$this->WP_Widget( $this->woothemes_widget_idbase, $this->woothemes_widget_title, $widget_ops, $control_ops );
parent::__construct( $this->woothemes_widget_idbase, $this->woothemes_widget_title, $widget_ops, $control_ops );
} // End __construct()

/**
Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://woothemes.com/
Tags: testimonials, widget, shortcode, template-tag, feedback, customers
Requires at least: 3.4.2
Tested up to: 3.9.1
Stable tag: 1.5.3
Stable tag: 1.5.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -97,6 +97,10 @@ We encourage everyone to contribute their ideas, thoughts and code snippets. Thi

== Upgrade Notice =

= 1.5.4 =
* 2015-07-07
* Removes deprecated constructor call for WP_Widget

= 1.4.1 =
* Fixes display of testimonials when no "id" parameter is set.

Expand Down Expand Up @@ -130,6 +134,10 @@ We encourage everyone to contribute their ideas, thoughts and code snippets. Thi

== Changelog ==

= 1.5.4 =
* 2015-07-07
* Removes deprecated constructor call for WP_Widget

= 1.5.3 =
* 2014-07-03
* Fix - $post global in template inadvertently removed in 1.5.2.
Expand Down
4 changes: 2 additions & 2 deletions woothemes-testimonials.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: http://woothemes.com/
* Description: Hi, I'm your testimonials management plugin for WordPress. Show off what your customers or website users are saying about your business and how great they say you are, using our shortcode, widget or template tag.
* Author: WooThemes
* Version: 1.5.3
* Version: 1.5.4
* Author URI: http://woothemes.com/
*
* @package WordPress
Expand All @@ -19,4 +19,4 @@
require_once( 'classes/class-woothemes-widget-testimonials.php' );
global $woothemes_testimonials;
$woothemes_testimonials = new Woothemes_Testimonials( __FILE__ );
$woothemes_testimonials->version = '1.5.3';
$woothemes_testimonials->version = '1.5.4';

0 comments on commit cc2ba3c

Please sign in to comment.