[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
Thu Mar 29 07:07:44 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)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  4.9.4
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In '''Gird''' mode media attachment filter is not properly filtered by
 available mime types, it shows all mime types by default via -
 {{{
 get_post_mime_types()
 }}}


 But in '''List mode''' its already filtered by checking
 {{{
 if ( ! wp_match_mime_types( $mime_type, $avail_post_mime_types ) ) {
         continue;
 }
 }}}

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


More information about the wp-trac mailing list