• Hi,
    I have some issues with your plugin. I have made a custom theme for a client where we use currentcolor to colorize some elements of a svg that is loaded inline.

    After one of your latest updates (somewhere between 2.5.1 where it worked and 2.5.4 where it is not working) this stopped working.

    After some testing, it seems that you do some kind of change that makes wp_check_filetype() fail (which I use to check if its a svg or some other kind of image), plus the sanitize-options I mentioned above has been activated by default, and this change remains there even after deleting the plugin.

    I have tried disabling the “sanitize svg” settings that you seem to have activated by default, including the “Sanitize SVG on Front-end” under “advanced”), and even tried deactivating and deleting the plugin (with the “delete plugin data on uninstall” checked), but wp_check_filetype() still fails, and this happens exactly after updating your plugin (I have tested and rolled back to earlier backups multiple times).

    Using the “force all svg to inline” option works, but as this is in the hero image (and other places) it makes a very noticeable delay before the colors are shown correctly.

    I really need a solution here asap.

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

The topic ‘Plugin breaks inline svg’ is closed to new replies.