Skip to content

Commit

Permalink
Add static to function scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterchan committed Jul 7, 2014
1 parent c9c048a commit 6f286d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.php
Expand Up @@ -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;

Expand Down

0 comments on commit 6f286d2

Please sign in to comment.