[wp-trac] [WordPress Trac] #24251: Reconsider SVG inclusion to get_allowed_mime_types

WordPress Trac noreply at wordpress.org
Sun Feb 28 19:02:22 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 markoheijnen):

 I guess we could integrate it as a feature you can select per media modal
 but to me (basic) sanitising is needed for any integration. I do have to
 say that this ticket is only about uploading SVG's and not handle them as
 images. Like #31258 also shows some issues with it. So if people want to
 create patches then they should try to integrate it as good as possible.

 Also I think #33755 is more a feature for regular users who will use JPG
 or PNG. The users who do know what SVGs are will most likely use a custom
 theme where they will put the logo directly in the theme itself.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24251#comment:65>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list