[Plugin: Enable Media Replace] File type does not meet security guidelines
-
Received the following message after upgrading to 2.4 and trying to replace an RDF file (not an allowable filetype by default in WP): “File type does not meet security guidelines. Try another.”
Using Thematic theme, granted additional filetypes to be uploaded with the following code in functions.php:
function addUploadMimes($mimes) { $mimes = array_merge($mimes, array( 'pub|psd|rdf' => 'application/octet-stream' )); return $mimes; } add_filter('upload_mimes', 'addUploadMimes');
I see the plugin uses “get_allowed_mime_types” – which I believe points back to the core wp-includes/functions.php. How can I get the plugin to point to what I’ve told WP to allow for filetypes in my theme’s functions.php file? Thanks for the help!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘[Plugin: Enable Media Replace] File type does not meet security guidelines’ is closed to new replies.