Importing svg images
Closed this issue · 1 comments
astray-heavy-arms commented
This one is a bit tricky. If a media gallery contains svg images then: -
createMedia will fail because WP "security" disables importing svgs (I've been trying to sort this myself locally but I've tried everything nothing works for me).
Allowing unfiltered uploads + adding svg to mime types fails.
timosz commented
@astray-heavy-arms thanks for pointing out this issue. This is now fixed by enabling the new config option that allows the uploads of svg media files.