Skip to content

Commit 61669a7

Browse files
author
PeterBeckley
committed
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.
1 parent 9acd714 commit 61669a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'style' => 'div',
2323
'short_ping' => true,
2424
'avatar_size' => 40,
25-
'callback' => bones_comments,
25+
'callback' => 'bones_comments',
2626
'type' => 'all',
2727
'reply_text' => 'Reply',
2828
'page' => '',

0 commit comments

Comments
 (0)