[wp-trac] [WordPress Trac] #25275: Checking if attachment is audio/video

WordPress Trac noreply at wordpress.org
Wed Mar 4 20:30:48 UTC 2015


#25275: Checking if attachment is audio/video
------------------------------------------------------+------------------
 Reporter:  danielpataki                              |       Owner:
     Type:  enhancement                               |      Status:  new
 Priority:  normal                                    |   Milestone:  4.2
Component:  Media                                     |     Version:  3.6
 Severity:  normal                                    |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-tests  |     Focuses:
------------------------------------------------------+------------------

Comment (by wonderboymusic):

 @DrewAPicture - the internals need different functions to supply the list
 of accepted mime types - that new func might be useful for other types,
 but I don't see `pdf` as being useful now, since there are no instances in
 core that would use it.

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


More information about the wp-trac mailing list