From 413186855c244e8a109294a1868d8110866ceded Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Fri, 17 Dec 2004 08:48:30 +0000 Subject: [PATCH] http://mosquito.wordpress.org/view.php?id=556 git-svn-id: https://develop.svn.wordpress.org/trunk@1969 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/comment-functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/comment-functions.php b/wp-includes/comment-functions.php index ad3a5f6d76..b5af451073 100644 --- a/wp-includes/comment-functions.php +++ b/wp-includes/comment-functions.php @@ -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); }