Fix "non-static method called statically" notice

This commit is contained in:
thenbrent 2013-11-01 14:15:52 -07:00
parent d9639947da
commit e63021a2ca
1 changed files with 1 additions and 1 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',