[wp-trac] [WordPress Trac] #24251: Reconsider SVG inclusion to get_allowed_mime_types
WordPress Trac
noreply at wordpress.org
Sun Jan 20 10:49:05 UTC 2019
#24251: Reconsider SVG inclusion to get_allowed_mime_types
---------------------------+------------------------------
Reporter: JustinSainton | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version:
Severity: normal | Resolution: worksforme
Keywords: early | Focuses:
---------------------------+------------------------------
Changes (by efilippucci):
* status: reopened => closed
* resolution: => worksforme
Comment:
Replying to [comment:80 shamank]:
Don't do that, it is very dangerous. To load the SVG file in Wordpress you
have add
{{{
<?xml version="1.0" encoding="utf-8"?>
}}}
to the svg file.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24251#comment:81>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list