diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php index 96e2298af2..9d6bedc1c3 100644 --- a/wp-includes/author-template.php +++ b/wp-includes/author-template.php @@ -345,10 +345,8 @@ function wp_list_authors($args = '') { } - if ( !($posts == 0 && $hide_empty) && 'list' == $style ) - $return .= $link . ''; - else if ( ! $hide_empty ) - $return .= $link . ', '; + if ( $posts || ! $hide_empty ) + $return .= $link . ( ( 'list' == $style ) ? '' : ', ' ); } $return = trim($return, ', ');