[wp-trac] [WordPress Trac] #32746: Media Upload mimeType validation bug

WordPress Trac noreply at wordpress.org
Tue Jun 23 19:42:53 UTC 2015


#32746: Media Upload mimeType validation bug
--------------------------+-----------------------------
 Reporter:  vivekbhusal   |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.3
Component:  Media         |     Version:  4.2.2
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"32916"]:
 {{{
 #!CommitTicketReference repository="" revision="32916"
 Because programming is fun. After [32915], `_.find()` will return
 `undefined` if an empty array is passed - in that case, the function
 should return `true`.

 See #32746.
 }}}

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


More information about the wp-trac mailing list