mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
5c4aebf1ab
commit
b15d639afe
@ -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