Fix strict standards warning

This commit is contained in:
Max Rice 2013-11-02 18:12:50 -04:00
parent f6ea020e8d
commit a0ddef247d
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}
}