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

WordPress Trac noreply at wordpress.org
Wed Sep 10 22:21:49 UTC 2014


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

Comment (by helgatheviking):

 There are actions in place inside the modal:

 >"View attachment page | Edit more details | Delete Permanently"

 I don't understand why it is a crazy idea to be able to add another? Maybe
 they aren't "row" actions any more, but they are still actions to be
 performed on the current attachment.

 >"View attachment page | Edit more details | Delete Permanently | Add
 Guacamole"

 They appear to be coming from media-template.php (please correct me if I
 am wrong) and that already has at least one `apply_filters()` in it, so
 why can't the attachment actions be run through a filter too?

 `attachment_fields_to_edit` doesn't seem to be applicable to the modal
 either and the fields all seem hard-coded. @swift if you've figured out
 how to add actions/fields to the modal, would you mind sharing?

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


More information about the wp-trac mailing list