소스 검색

Update comments.php

WordPress debugger sees an undefined constant is the callback function name isn't wrapped in single quotes. Doesn't affect operation of theme as far as I can tell, but WP unit testing suggests addressing these kinds of things.
PeterBeckley 12 년 전
부모
커밋
61669a76bc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      comments.php

+ 1 - 1
comments.php

@@ -22,7 +22,7 @@ if ( post_password_required() ) {
           'style'             => 'div',
           'short_ping'        => true,
           'avatar_size'       => 40,
-          'callback'          => bones_comments,
+          'callback'          => 'bones_comments',
           'type'              => 'all',
           'reply_text'        => 'Reply',
           'page'              => '',