[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
Wed Apr 4 07:27:43 UTC 2018


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

Comment (by itzmekhokan):

 I have tested the flow thoroughly with the
 [https://core.trac.wordpress.org/attachment/ticket/43658/43658.1.patch
 43658.1.patch] and it is working properly, as expected and changes the
 return from `wp_enqueue_media`.

 However, I faced an issue with unit testing. Can you please guide me with
 the flow, i need to follow for the same.

 Looking for your co-operation dearly.

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


More information about the wp-trac mailing list