git-svn-id: https://develop.svn.wordpress.org/trunk@2134 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-01-24 07:55:03 +00:00
parent 1b5653dcc7
commit a7dfae8ea6

View File

@ -168,7 +168,8 @@ function list_authors($optioncount = false, $exclude_admin = true, $show_fullnam
if (! ($posts == 0 && $hide_empty)) echo "<li>";
if ($posts == 0) {
if (! $hide_empty) echo $name;
if ( !$hide_empty )
$link = $name;
} else {
$link = '<a href="' . get_author_link(0, $author->ID, $author->user_nicename) . '" title="' . sprintf(__("Posts by %s"), wp_specialchars($author->user_nickname)) . '">' . $name . '</a>';