[wp-trac] [WordPress Trac] #32755: media_sideload_image should return early when preg_match didn't match
WordPress Trac
noreply at wordpress.org
Fri Oct 9 04:46:02 UTC 2015
#32755: media_sideload_image should return early when preg_match didn't match
------------------------------+------------------------
Reporter: serpent7776 | Owner: chriscct7
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Upload | Version: 4.2.2
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+------------------------
Changes (by SergeyBiryukov):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"34984"]:
{{{
#!CommitTicketReference repository="" revision="34984"
Media: Return early from `media_sideload_image()` if `$file` didn't match
the pattern for images.
Props MikeHansenMe, serpent7776.
Fixes #32755.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32755#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list