Conversation
supportI would like to remove (comment out with “#”) some of the default types installed with the plugin, e.g. wmv = video/x-ms-wmv wmx = video/x-ms-wmx wm = video/x-ms-wm for which I have no use. However, the “List of allowed mime types and file extensions by WordPress” in Settings does not appear to be editable. How can I remove some of these allowed types? Thanks
Thank you for using my plugin. In response to your request, I have implemented a feature. Please update this plugin. The restriction function is available on version 3.0.0. If the head in each line is set to ‘-‘, then the MIME type restricts. ex. -bmp = image/bmp The files which have “bmp” file extension becomes not to be able to upload. If you want to restrict(remove) “wmv”, “wmx”, and “vm” file extension, set the following settings. -wmv = video/x-ms-wmv -wmx = video/x-ms-wmx -wm = video/x-ms-wm
Dear kimipooh, Thank you so much for this — it works brilliantly! And thank you for the speedy fix and reply. As this is a security improvement, your quick response if very much appreciated. Stay safe, all the best!
Thank you for using my plugin. In response to your request, I have implemented a feature. Please update this plugin. The restriction function is available on version 3.0.0. If the head in each line is set to ‘-‘, then the MIME type restricts. ex. -bmp = image/bmp The files which have “bmp” file extension becomes not to be able to upload. If you want to restrict(remove) “wmv”, “wmx”, and “vm” file extension, set the following settings. -wmv = video/x-ms-wmv -wmx = video/x-ms-wmx -wm = video/x-ms-wm
Dear kimipooh, Thank you so much for this — it works brilliantly! And thank you for the speedy fix and reply. As this is a security improvement, your quick response if very much appreciated. Stay safe, all the best!