From 8b48ac05ed5e4e7f9666729d42efc84c07810433 Mon Sep 17 00:00:00 2001 From: Gregory Karpinsky Date: Tue, 18 Oct 2016 14:07:19 -0400 Subject: [PATCH] Fixed deprecated constructor name --- classes/SlideshowPluginWidget.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/SlideshowPluginWidget.php b/classes/SlideshowPluginWidget.php index ce2bc12..eff9764 100644 --- a/classes/SlideshowPluginWidget.php +++ b/classes/SlideshowPluginWidget.php @@ -15,7 +15,7 @@ class SlideshowPluginWidget extends WP_Widget * * @since 1.2.0 */ - function SlideshowPluginWidget() + public function __construct() { // Settings $options = array( @@ -152,4 +152,4 @@ static function registerWidget() { register_widget(__CLASS__); } -} \ No newline at end of file +}