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

Leave a Reply

Your email address will not be published.

 

What is 5 + 14 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

This site uses Akismet to reduce spam. Learn how your comment data is processed.