xlsm-extension STILL not recognized
-
I would like to reopen the following problem: xlsm-extension-mis-recognized
I have tried for 1.5 hours to implement this very simple task, but it seems that XLSM is a special case that just won’t work.
I did everything: used various plugins, snippets, etc. I verified that the mime-type was correctly added to the list of allowed mime-types, BUT STILL, the WP Media Upload refuses to upload .xlsm files.
I need help!
function my_mime_types( $mime_types ) { $mime_types['xlsm'] = 'application/vnd.ms-excel.sheet.macroEnabled.12'; # I also tried: # $mime_types['xlsm'] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'; # and various others. return $mime_types; } add_filter( 'mime_types', 'my_mime_types' );
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘xlsm-extension STILL not recognized’ is closed to new replies.