[wp-trac] [WordPress Trac] #29056: Media Grid: Support media_row_actions

WordPress Trac noreply at wordpress.org
Wed Aug 6 19:47:18 UTC 2014


#29056: Media Grid: Support media_row_actions
-------------------------------------+-------------------------------------
 Reporter:  pavelevap                |       Owner:
     Type:  defect (bug)             |      Status:  closed
 Priority:  low                      |   Milestone:
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:  wontfix
 Keywords:  dev-feedback 2nd-        |     Focuses:  ui, javascript,
  opinion                            |  administration
-------------------------------------+-------------------------------------
Changes (by helen):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  4.0 =>


Comment:

 As noted, I've landed on not supporting this action in the context of the
 details modal, and the grid does not lend itself to supporting it, either.
 It's not a table, and therefore not a "row". You also do not get `$post`
 context in the JS template like you do in PHP, thus making it necessary to
 do another compat workaround. I would suggest using
 `attachment_fields_to_edit` instead, which would also make it available in
 the original media modal. If we need to add/check more context for
 where/when to display stuff added in that hook, then we can open a new
 ticket for that.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29056#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list