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.

-=-
Tip me with Bitcoin to: 1ASA9q5VQUxPZvit8X2AP4JYzPcSDk7dFV or using ChangeTip (button below)


Leave a Reply

Your email address will not be published. Required fields are marked *