git-svn-id: https://develop.svn.wordpress.org/trunk@1969 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a007528ca1
commit
413186855c
|
@ -139,10 +139,10 @@ function comment_ID() {
|
||||||
|
|
||||||
function get_comment_author() {
|
function get_comment_author() {
|
||||||
global $comment;
|
global $comment;
|
||||||
|
if ( empty($comment->comment_author) )
|
||||||
if ( empty($author) )
|
|
||||||
$author = 'Anonymous';
|
$author = 'Anonymous';
|
||||||
|
else
|
||||||
|
$author = $comment->comment_author;
|
||||||
return apply_filters('get_comment_author', $author);
|
return apply_filters('get_comment_author', $author);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue