[wp-cvs] wordpress/wp-includes comment-functions.php,1.3,1.4
Matthew Mullenweg
saxmatt at users.sourceforge.net
Fri Dec 17 08:48:32 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13239/wp-includes
Modified Files:
comment-functions.php
Log Message:
http://mosquito.wordpress.org/view.php?id=556
Index: comment-functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/comment-functions.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** comment-functions.php 16 Dec 2004 23:18:15 -0000 1.3
--- comment-functions.php 17 Dec 2004 08:48:30 -0000 1.4
***************
*** 140,147 ****
function get_comment_author() {
global $comment;
!
! if ( empty($author) )
$author = 'Anonymous';
!
return apply_filters('get_comment_author', $author);
}
--- 140,147 ----
function get_comment_author() {
global $comment;
! if ( empty($comment->comment_author) )
$author = 'Anonymous';
! else
! $author = $comment->comment_author;
return apply_filters('get_comment_author', $author);
}
More information about the cvs
mailing list