[wp-trac] [WordPress Trac] #41854: Allow filters to be added for the Media Library in Grid Mode & Insert Media

WordPress Trac noreply at wordpress.org
Sun Sep 17 14:41:56 UTC 2017


#41854: Allow filters to be added for the Media Library in Grid Mode & Insert Media
-------------------------+------------------------------
 Reporter:  TigrouMeow   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  4.8.1
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  ui
-------------------------+------------------------------

Comment (by TigrouMeow):

 That would resolve one side of the issue, which is retrieving the
 attachments themselves.

 The action "restrict_manage_posts" is called when the Media Library is
 displayed and when the filters are being displayed which give the chance
 to developers to add their own HTML to create/handle those filters. The
 only issue is that action is only called in list mode in the Media
 Library, I am not sure why. It seems like many other developers are
 waiting for this as well :)

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


More information about the wp-trac mailing list