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:
parent
f90f5c86e5
commit
b8f92556c3
|
@ -1432,7 +1432,7 @@ function _post_row($a_post, $pending_comments, $mode) {
|
||||||
|
|
||||||
case 'author':
|
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; ?>&author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td>
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -1622,7 +1622,7 @@ foreach ( $posts_columns as $column_name => $column_display_name ) {
|
||||||
|
|
||||||
case 'author':
|
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; ?>&author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td>
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue