Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#13665 closed defect (bug) (fixed)

Incorrect author link in edit pages list

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

Description

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.

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

@duck_
16 years ago

#1 @duck_
16 years ago

  • Keywords has-patch added
  • Milestone Unassigned3.0
  • Version3.0

Fix for both pages and custom post types.

#2 @markjaquith
16 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.