i deleted one of my test installations – I mistakenly believe that with Enfold or one of the plugins something was wrong, but it was WordPress 4.7.1
The “bug” is in WordPress 4.7.1 and the functions.php snippet f.e. does not work anymore.
function custom_mtypes( $m ){
$m['svg'] = 'image/svg+xml';
$m['svgz'] = 'image/svg+xml';
return $m;
}
add_filter( 'upload_mimes', 'custom_mtypes' );
they changed the mime-check in 4.71 (wp-includes/functions.php)
Till next WP update this could help in wp-config.php:
define( ‘ALLOW_UNFILTERED_UPLOADS’, true );
Hey Guenter,
Thank you for sharing! We will pass it to our devs :)
Best regards,
Yigit