[wp-trac] [WordPress Trac] #39552: SVG upload support broken in 4.7.1
WordPress Trac
noreply at wordpress.org
Thu Jan 12 02:34:19 UTC 2017
#39552: SVG upload support broken in 4.7.1
----------------------------------------+--------------------
Reporter: freakpants | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7.2
Component: Upload | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+--------------------
Comment (by freakpants):
the elseIf case with getimagesize actually returns false. So the fix needs
to check for false AND application/octet-stream.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39552#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list