git-svn-id: http://svn.automattic.com/wordpress/trunk@1969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-12-17 08:48:30 +00:00
parent 766178708e
commit b3bc745046
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);
}