[wp-trac] [WordPress Trac] #16693: media_sideload_image() fails on jpeg names
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 28 00:46:24 UTC 2011
#16693: media_sideload_image() fails on jpeg names
--------------------------+------------------------------
Reporter: numediaweb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: major | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by nacin):
Sounds like the ordering could be better. Try this for the regular
expression instead:
`/[^\?]+\.(jpg|jpeg|jpe|gif|png)/i`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16693#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list