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

git-svn-id: https://develop.svn.wordpress.org/trunk@15085 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2010-06-01 00:26:49 +00:00
parent f90f5c86e5
commit b8f92556c3
1 changed files with 2 additions and 2 deletions

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;