Allow "anonymous" to be translated, fixes #1740
git-svn-id: http://svn.automattic.com/wordpress/trunk@2986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
db1941ba0b
commit
cdd3a0a295
|
@ -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