From a0ddef247dedfb35d3f294d67331368c7134141f Mon Sep 17 00:00:00 2001 From: Max Rice Date: Sat, 2 Nov 2013 18:12:50 -0400 Subject: [PATCH] Fix strict standards warning --- includes/class-wc-shortcodes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/class-wc-shortcodes.php b/includes/class-wc-shortcodes.php index b224b2f2990..a168dba2bf9 100644 --- a/includes/class-wc-shortcodes.php +++ b/includes/class-wc-shortcodes.php @@ -13,7 +13,7 @@ class WC_Shortcodes { /** * Init shortcodes */ - public function init() { + public static function init() { // Define shortcodes $shortcodes = array( 'product' => __CLASS__ . '::product', @@ -956,4 +956,4 @@ class WC_Shortcodes { return ob_get_clean(); } -} \ No newline at end of file +}