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

WordPress Trac noreply at wordpress.org
Fri Mar 6 20:37:10 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):

 In [changeset:"31647"]:
 {{{
 #!CommitTicketReference repository="" revision="31647"
 Add unit tests for `wp_attachment_is()`, checks the whitelist and
 arbitrary extension.

 See #25275.
 }}}

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


More information about the wp-trac mailing list