[wp-trac] [WordPress Trac] #24251: Reconsider SVG inclusion to get_allowed_mime_types
WordPress Trac
noreply at wordpress.org
Sat Feb 27 21:55:47 UTC 2016
#24251: Reconsider SVG inclusion to get_allowed_mime_types
---------------------------+------------------------------
Reporter: JustinSainton | Owner:
Type: enhancement | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: Upload | Version:
Severity: normal | Resolution:
Keywords: early | Focuses:
---------------------------+------------------------------
Comment (by chriscct7):
Replying to [comment:58 LewisCowles]:
> Worse still to suggest SVG, unlike other files deserves excessive
scrutiny (I'd suggest you take a look at MediaWiki & OWASP who both use
and support SVG
MediaWiki/OWASP (who uses MediaWiki) does not support SVG as a viewable
filetype. As pointed out in comment:43, upon upload the SVGs are converted
to pngs. No SVG is ever outputted on the frontend. You can read about
their process (which basically uses a series of PHP libraries in case of
fallback to get a copy of the SVG rendering and save it in the png on the
fly and then serves the SVG) here:
https://www.mediawiki.org/wiki/Manual:Image_administration#SVG
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24251#comment:59>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list