Site icon ivucica blog

Adding file types to WordPress to prevent "File type does not meet security guidelines. Try another."

WordPress disallows uploading files with random extensions/mime-types for security reasons. To add your custom type, edit get_allowed_mime_types(); in your custom WordPress installation’s file wp-includes/functions.php.


via blog.vucica.net