Merge pull request #489 from Foxaii/master

Allow author to control archive penname from dashboard.
This commit is contained in:
Scott Walkinshaw
2012-06-21 11:04:25 -07:00

View File

@@ -20,7 +20,7 @@
} elseif (is_author()) {
global $post;
$author_id = $post->post_author;
printf(__('Author Archives: %s', 'roots'), get_the_author_meta('user_nicename', $author_id));
printf(__('Author Archives: %s', 'roots'), get_the_author_meta('display_name', $author_id));
} else {
single_cat_title();
}