[wp-trac] [WordPress Trac] #16693: media_sideload_image() fails on jpeg names

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 5 20:51:57 UTC 2012


#16693: media_sideload_image() fails on jpeg names
----------------------------------------+--------------------------
 Reporter:  numediaweb                  |       Owner:  markjaquith
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  3.5
Component:  General                     |     Version:  3.1
 Severity:  major                       |  Resolution:  fixed
 Keywords:  has-patch 3.2-early commit  |
----------------------------------------+--------------------------
Changes (by markjaquith):

 * owner:   => markjaquith
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21219]:
 {{{
 #!CommitTicketReference repository="" revision="21219"
 Better image extension regexes, so we don't just grab the "jpe" from
 "jpeg" files in media_sideload_image(). props sivel. fixes #16693
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16693#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list