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() {
|
function get_comment_author() {
|
||||||
global $comment;
|
global $comment;
|
||||||
if ( empty($comment->comment_author) )
|
if ( empty($comment->comment_author) )
|
||||||
$author = 'Anonymous';
|
$author = __('Anonymous');
|
||||||
else
|
else
|
||||||
$author = $comment->comment_author;
|
$author = $comment->comment_author;
|
||||||
return apply_filters('get_comment_author', $author);
|
return apply_filters('get_comment_author', $author);
|
||||||
|
|
Loading…
Reference in New Issue