WordPress 4.7.1 Prevent SVG uploads
-
Hi
I upgraded today to 4.7.1 both on a localhost site, and a live site and I can’t update the SVG images anymore. I have a mime types code snippet in my functions.php that overrides the default denial of SVG uploads and this no longer works. I also tried a snippet off CSS tricks which had worked previously, but also now doesn’t and I tried the svg upload plugins in the repository, they don’t work anymore either.
Please don’t tell me WordPress are going to ban SVG across the board. I do loads of design work and i’ll have to leave the platform if this is the case.
Any further enlightenment would be wonderful.
Thanks
Paul
The blog I need help with is: (visible only to logged in users)
-
This is known problem. There are currently two tickets for this in Core:
So no worries. This issue will be probably be fixed in WordPress 4.7.2. Until then, you can use the following plugin as a workaround:
https://wordpress.org/plugins/disable-real-mime-check/
- The topic ‘WordPress 4.7.1 Prevent SVG uploads’ is closed to new replies.