Use the_author_meta(). Props sivel. see #9393
git-svn-id: https://develop.svn.wordpress.org/trunk@11322 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c5ce63e64d
commit
8efb468ed6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user