Opened 6 years ago
Closed 6 years ago
#44620 closed defect (bug) (fixed)
Attachment Details modal shouldn't manually construct the edit link
Reported by: | johnbillion | Owned by: | johnbillion |
---|---|---|---|
Milestone: | 5.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Media | Keywords: | has-patch fixed-major fixed-5.0 |
Focuses: | Cc: |
Description
In the template for the Attachment Details modal, the URL of the Edit more details
link is manually constructed using post.php?post={{ data.id }}&action=edit
.
This means the URL may not be correct if the actual attachment editing URL is filtered and changed. The template should use {{ data.editLink }}
.
Attachments (1)
Change History (13)
This ticket was mentioned in Slack in #core-media by mike. View the logs.
6 years ago
#5
@
6 years ago
- Keywords fixed-major added
- Resolution fixed deleted
- Status changed from closed to reopened
#7
@
6 years ago
- Keywords fixed-major removed
- Milestone changed from 4.9.9 to 5.0
- Resolution fixed deleted
- Status changed from closed to reopened
Note: See
TracTickets for help on using
tickets.
@johnbillion Looks right to me.