Skip to content

Commit

Permalink
Replaced deprecated function get_the_author_name with new function ge…
Browse files Browse the repository at this point in the history
…t_the_author_meta.
  • Loading branch information
Gordon Brander committed Feb 9, 2010
1 parent 98220c2 commit 89a6efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posts/author.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
the_post();
?>

<h1 class="page-title"><?php printf(__('Posts by: <a href="%s">%s</a>', 'carrington-blog'), get_author_posts_url($authordata->ID), get_author_name($authordata->ID)); ?></h1>
<h1 class="page-title"><?php printf(__('Posts by: <a href="%s">%s</a>', 'carrington-blog'), get_author_posts_url($authordata->ID), get_the_author_meta('display_name', $authordata->ID)); ?></h1>

<?php
if (!empty($bio)) {
Expand Down

0 comments on commit 89a6efe

Please sign in to comment.