I can’t upload SVG files
“Sorry, this file type is not permitted for security reasons.” Even after adding the standard upload_mimes filter, some SVG files still trigger “Sorry, this file type is not permitted for security reasons.” In most cases, a missing XML declaration at the top of the SVG file is what causes the server-side MIME check to fail.