Opened 11 years ago
Closed 11 years ago
#24476 closed defect (bug) (fixed)
manage_media_custom_column action no longer being passed post id
Reported by: | nickdaugherty | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 3.6 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
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.
Replaces $id with $post->ID