• Resolved Frank Gomez

    (@frank6tg)


    I switched from another SVG plugin, Does Safe SVG sanitize images that are already in the media library? IF NOT, how do I get Safe SVG to sanitize those as well?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Darin Kotter

    (@dkotter)

    Does Safe SVG sanitize images that are already in the media library

    It does not, sanitization only happens when an svg is uploaded.

    IF NOT, how do I get Safe SVG to sanitize those as well

    There currently isn’t a built-in way to handle this though it has been requested in the past and is something we’ve considered for a future roadmap. At the moment, the only way to achieve this is to write a custom script (using something like WP-CLI) that can find all existing svg files and then run those through our sanitization functions.

    Thread Starter Frank Gomez

    (@frank6tg)

    Good info. I figured that. Thanks.

    Thread Starter Frank Gomez

    (@frank6tg)

    This may or may not help others: https://svg.enshrined.co.uk/

    Thread Starter Frank Gomez

    (@frank6tg)

    Resolved

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.