[wp-trac] [WordPress Trac] #29065: Media grid not filtering for Unattached Media

WordPress Trac noreply at wordpress.org
Sat Aug 2 20:38:07 UTC 2014


#29065: Media grid not filtering for Unattached Media
--------------------------+-----------------------------------------
 Reporter:  UaMV          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript, administration
--------------------------+-----------------------------------------

Comment (by ocean90):

 I think the unattached filter should only be added to
 `wp.media.view.AttachmentFilters.All`, see [attachment:29065.2.diff]. The
 mime-types filter is added in 4.0 for the grid, but we could use the
 ".All" filter here too and just check inside the filter if
 `wp.media.view.settings.post.id` is set.

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


More information about the wp-trac mailing list