git-svn-id: https://develop.svn.wordpress.org/trunk@1969 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-12-17 08:48:30 +00:00
parent a007528ca1
commit 413186855c
1 changed files with 3 additions and 3 deletions

View File

@ -139,10 +139,10 @@ function comment_ID() {
function get_comment_author() {
global $comment;
if ( empty($author) )
if ( empty($comment->comment_author) )
$author = 'Anonymous';
else
$author = $comment->comment_author;
return apply_filters('get_comment_author', $author);
}