VJFNL Safe Upload Policy began with a simple problem: I needed to upload SVG icons to WordPress, and WordPress would not accept them. After getting past that first error, I ran into another question. How do we allow these files without simply opening the door to anything that happens to have an .svg extension?
That is what this plugin is for. It checks an SVG before WordPress stores it, accepts the elements needed for simple icons and illustrations, and rewrites an accepted file as clean SVG. Scripts, embedded images, external references, animations and other features outside this policy are rejected. If a file is too complex, the plugin tells you so instead of quietly treating it as safe.
There are free plugins that also allow and sanitize SVG uploads. I think they are worth considering. The reason to choose VJFNL Safe Upload Policy is its deliberately narrow approach. If you mainly work with straightforward icons and illustrations, you may prefer a policy that clearly defines what it accepts, rather than one designed to accommodate as many kinds of SVG as possible. The plugin was built from an upload problem I encountered in real work, including the small details that only became apparent when I tested actual files.
A purchase also includes access to approved updates and support. The upload checks themselves continue to work if the licence connection is unavailable; the licence is for keeping the plugin maintained, not for switching your existing SVGs off.
I want to be clear about its limits. This version supports simple SVG files, not every SVG an illustration program can export. With Advanced Custom Fields, use a File field that permits SVG; an ACF Image field may still reject the file because it expects conventional image dimensions and thumbnails. Other formats are not included yet.
In the future, I want to extend the policy where there is a genuine need for it, both for more SVG use cases and for other file formats. But each addition will need its own validation. The aim is to keep this a practical tool that grows carefully, without losing the reason I built it in the first place: making useful uploads possible while taking their safety seriously.