Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12288 closed defect (bug) (fixed)

Use get_edit_post_link in edit-attachment-rows.php

Reported by: jfarthing84's profile jfarthing84 Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch
Focuses: Cc:

Description

Just like the title says. Instead of hardcoding the edit link, use the get_edit_post_link function so that it can be filtered. It is already being used in one "Edit" link instance on the page, but not on the other. I will attach a patch.

Attachments (2)

edit-attachment-rows.diff (605 bytes) - added by jfarthing84 15 years ago.
edit-attachment-rows.2.diff (610 bytes) - added by jfarthing84 15 years ago.

Download all attachments as: .zip

Change History (5)

#1 @scribu
15 years ago

  • Keywords needs-patch added; has-patch removed
  • Milestone changed from Unassigned to 3.0

That should be echo get_edit_post_link(...

#2 @jfarthing84
15 years ago

  • Keywords has-patch added; needs-patch removed

Oops. Good catch. Corrected version added.

#3 @nacin
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.