From 0f375836f2a74df9afdf214f8bfab217beda67a5 Mon Sep 17 00:00:00 2001 From: Scott Walkinshaw Date: Thu, 20 Sep 2012 10:30:39 -0600 Subject: [PATCH] Use PHP5 __construct --- lib/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets.php b/lib/widgets.php index be8c3ba..f9acd54 100644 --- a/lib/widgets.php +++ b/lib/widgets.php @@ -37,7 +37,7 @@ class Roots_Vcard_Widget extends WP_Widget { 'email' => 'Email' ); - function Roots_Vcard_Widget() { + function __construct() { $widget_ops = array('classname' => 'widget_roots_vcard', 'description' => __('Use this widget to add a vCard', 'roots')); $this->WP_Widget('widget_roots_vcard', __('Roots: vCard', 'roots'), $widget_ops);