[wp-trac] [WordPress Trac] #24476: manage_media_custom_column action no longer being passed post id

WordPress Trac noreply at wordpress.org
Sat Jun 1 00:12:07 UTC 2013


#24476: manage_media_custom_column action no longer being passed post id
---------------------------+-----------------------------
 Reporter:  nickdaugherty  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  trunk
 Severity:  normal         |   Keywords:  has-patch
---------------------------+-----------------------------
 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.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24476>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list