[wp-trac] [WordPress Trac] #43658: Media attachment filter drop-down mime types in grid mode is not properly filtered by available mime types

WordPress Trac noreply at wordpress.org
Fri Mar 1 18:54:36 UTC 2019


#43658: Media attachment filter drop-down mime types in grid mode is not properly
filtered by available mime types
-------------------------------------------------+-------------------------
 Reporter:  itzmekhokan                          |       Owner:
                                                 |  adamsilverstein
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.2
Component:  Media                                |     Version:  4.9.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-screenshots needs-     |     Focuses:
  testing needs-unit-tests                       |
-------------------------------------------------+-------------------------

Comment (by adamsilverstein):

 [attachment:"43658.diff"] includes unit tests that verify the correct mime
 types are available to the grid. these tests fail before the patch and
 succeed after it.

 @itzmekhokan can you take a look at what I did for the unit tests - let me
 know if you have any questions -  and also verify this resolves the issue
 you were seeing.

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


More information about the wp-trac mailing list