Fix the Author links from Edit Pages screen. props duck_. fixes #13665

git-svn-id: http://svn.automattic.com/wordpress/trunk@15085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2010-06-01 00:26:49 +00:00
parent 9ee19ac71f
commit 18094087e1

View File

@ -1432,7 +1432,7 @@ function _post_row($a_post, $pending_comments, $mode) {
case 'author':
?>
<td <?php echo $attributes ?>><a href="edit.php?author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td>
<td <?php echo $attributes ?>><a href="edit.php?post_type=<?php echo $post->post_type; ?>&amp;author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td>
<?php
break;
@ -1622,7 +1622,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_meta('ID'); ?>"><?php the_author() ?></a></td>
<td <?php echo $attributes ?>><a href="edit.php?post_type=<?php echo $post_type; ?>&amp;author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td>
<?php
break;