Hello,
At the moment, it is up to you (the uploaded) to sanitize or make sure that SVG files are ok.
I’m looking at including something like this in the future though.
In the meantime, there is a setting to restrict uploads to administrators only… who you should already trust enough to have that kind of access.
Thanks
Oh, also, I use SVG Cleaner to prepare SVG files before uploading.
Thread Starter
Rookie
(@alriksson)
Ok thanks for the information!
To make sure that my plugin does not enqueue anything on the front end, you can just leave the Advanced Mode unchecked in Settings > SVG Support.
In this mode, there is just the one setting to restrict uploads to admins only and it uses the bare minimum code to allow it 🙂
Thread Starter
Rookie
(@alriksson)
Already unchecked so no changes to be done, but thanks for the quick response! 🙂
Awesome!
No worries at all. Here if you need me.