Use the_author_meta(). Props sivel. see #9393

git-svn-id: http://svn.automattic.com/wordpress/trunk@11322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-05-14 01:52:42 +00:00
parent 5c4aebf1ab
commit b15d639afe

View File

@ -1520,7 +1520,7 @@ function _post_row($a_post, $pending_comments, $mode) {
case 'author':
?>
<td <?php echo $attributes ?>><a href="edit.php?author=<?php the_author_ID(); ?>"><?php the_author() ?></a></td>
<td <?php echo $attributes ?>><a href="edit.php?author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td>
<?php
break;
@ -1701,7 +1701,7 @@ foreach ($posts_columns as $column_name=>$column_display_name) {
case 'author':
?>
<td <?php echo $attributes ?>><a href="edit-pages.php?author=<?php the_author_ID(); ?>"><?php the_author() ?></a></td>
<td <?php echo $attributes ?>><a href="edit-pages.php?author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td>
<?php
break;