Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#13665 closed defect (bug) (fixed)

Incorrect author link in edit pages list

Reported by: markauk Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: General Keywords: has-patch
Focuses: Cc:


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>


<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.

Attachments (1)

13665.2.diff (931 bytes) - added by duck_ 8 years ago.

Download all attachments as: .zip

Change History (3)

8 years ago

#1 @duck_
8 years ago

  • Keywords has-patch added
  • Milestone changed from Unassigned to 3.0
  • Version set to 3.0

Fix for both pages and custom post types.

#2 @markjaquith
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [15085]) Fix the Author links from Edit Pages screen. props duck_. fixes #13665

Note: See TracTickets for help on using tickets.