From 6f286d24242657a35887b37370c8411b3f62a9d0 Mon Sep 17 00:00:00 2001 From: Lester Chan Date: Mon, 7 Jul 2014 21:27:04 +0700 Subject: [PATCH] Add static to function scripts --- core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.php b/core.php index 19e1d65..4a69024 100644 --- a/core.php +++ b/core.php @@ -45,7 +45,7 @@ static function linked_names( $name, $user ) { return html_link( get_author_posts_url( $user->user_id ), $name ); } - function scripts() { + static function scripts() { if ( !self::$add_script ) return;