Opened 13 years ago
Closed 13 years ago
#24476 closed defect (bug) (fixed)
manage_media_custom_column action no longer being passed post id
| Reported by: | nickdaugherty | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | General | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
The manage_media_custom_column action, called in display_rows() in /wp-admin/includes/class-wp-media-list-table.php is being passed $id, which was removed in [24337]. This causes any custom columns to not be passed the id correctly.
Attached is a patch to replace $id with $post->ID to correctly pass the id to the action.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Replaces $id with $post->ID