Changeset 1969
- Timestamp:
- 12/17/04 08:48:30 (4 years ago)
- Files:
-
- trunk/wp-includes/comment-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/comment-functions.php
r1967 r1969 140 140 function get_comment_author() { 141 141 global $comment; 142 143 if ( empty($author) ) 142 if ( empty($comment->comment_author) ) 144 143 $author = 'Anonymous'; 145 144 else 145 $author = $comment->comment_author; 146 146 return apply_filters('get_comment_author', $author); 147 147 }
