Skip to content

SVG uploads #427

@mxbclang

Description

@mxbclang

High-level feature

Allow uploading of regular SVGs without scripts and provide an SVG preview in the Media Library.

Technical details

  • This should likely use https://github.com/darylldoyle/svg-sanitizer
  • This library requires at least PHP 7.0
    • Since uploading SVGs is not a critical feature to using WordPress, we can still use that library and build the SVG uploads feature in a way that it only works for WordPress sites on PHP 7.0+
    • WordPress sites on PHP 5.6 would simply not get SVG support, which is an acceptable tradeoff for this kind of feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs DevAnything that requires development (e.g. a pull request)[Plugin] Performance LabIssue relates to work in the Performance Lab Plugin only[Type] EpicA high-level project / epic that will encompass several sub-issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions