[wp-trac] [WordPress Trac] #13665: Incorrect author link in edit pages list

WordPress Trac wp-trac at lists.automattic.com
Mon May 31 22:52:05 UTC 2010


#13665: Incorrect author link in edit pages list
--------------------------+-------------------------------------------------
 Reporter:  markauk       |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 In admin edit pages screen (ie list of all pages) clicking on an author
 link does not work - it still refers to pre-3.0 edit-pages.php.

 The following fixes it:

 change wp-admin/includes/template.php line 1625 (3.0rc1) from
 {{{
 <td <?php echo $attributes ?>><a href="edit-pages.php?author=<?php
 the_author_meta('ID'); ?>"><?php the_author() ?></a></td>
 }}}

 to
 {{{
 <td <?php echo $attributes ?>><a
 href="edit.php?post_type=page&author=<?php the_author_meta('ID');
 ?>"><?php the_author() ?></a></td>
 }}}

 There is a similar bug when clicking on author link for custom post types,
 but I haven't found where that link is generated in the code.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13665>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list