Make WordPress Core

Opened 14 years ago

Closed 14 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:


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 14 years ago.
edit-attachment-rows.2.diff (610 bytes) - added by jfarthing84 14 years ago.

Download all attachments as: .zip

Change History (5)

#1 @scribu
14 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
14 years ago

  • Keywords has-patch added; needs-patch removed

Oops. Good catch. Corrected version added.

#3 @nacin
14 years ago

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