• Resolved ninoxknight

    (@ninoxknight)


    I 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author kimipooh

    (@kimipooh)

    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

    Thread Starter ninoxknight

    (@ninoxknight)

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Some Default Types’ is closed to new replies.