mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Allow "anonymous" to be translated, fixes #1740
git-svn-id: https://develop.svn.wordpress.org/trunk@2986 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ee0398959b
commit
9ff2f7d167
@ -294,7 +294,7 @@ function comment_ID() {
|
||||
function get_comment_author() {
|
||||
global $comment;
|
||||
if ( empty($comment->comment_author) )
|
||||
$author = 'Anonymous';
|
||||
$author = __('Anonymous');
|
||||
else
|
||||
$author = $comment->comment_author;
|
||||
return apply_filters('get_comment_author', $author);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user