Opened 3 years ago
Closed 3 years ago
#12288 closed defect (bug) (fixed)
Use get_edit_post_link in edit-attachment-rows.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | jeff@… |
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)
Change History (5)
jfarthing84 — 3 years ago
- Keywords needs-patch added; has-patch removed
- Milestone changed from Unassigned to 3.0
jfarthing84 — 3 years ago
comment:2
jfarthing84 — 3 years ago
- Keywords has-patch added; needs-patch removed
Oops. Good catch. Corrected version added.
Note: See
TracTickets for help on using
tickets.

That should be echo get_edit_post_link(...