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

WordPress Trac noreply at wordpress.org
Sat Feb 27 11:32:40 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 enshrined):

 Replying to [comment:51 Ninos Ego]:
 > Think this feature should be implemented in v4.5, otherwise feature
 #33755 is mostly useless.. See also my comment on that ticket:
 > https://core.trac.wordpress.org/ticket/33755#comment:115

 As stated earlier in this ticket, the library within the POC is not well
 enough tested to even be considered for core inclusion. Not to mention
 it's only compatible with PHP 5.3+, seeing as WP still supports 5.2.4 that
 is also a major blocker.

 For now, the best thing that could happen is for people to help test the
 above library or if you know one that's already tested and maintained,
 mention that here. Until a well tested, well maintained SVG sanitisation
 library is found, I can't see this ticket progressing any more and for
 good reasons.

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

More information about the wp-trac mailing list