• Resolved msbt

    (@msbt)


    Hi,
    is it possible to allow all filetypes/extensions without having to add them to the list? That doesn’t look good if you have many extensions and people might upload files without extensions (scripts, linux stuff etc), how would I go about that?

    I’ve tried an empty field or *, but neither does work.
    Best regards

    • This topic was modified 6 years ago by msbt.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author melliesou

    (@melliesou)

    Hi @msbt,

    Allowing a wildcard or files without extensions is currently not possible. We will consider your request for future updates. (In the meantime, you can disable the file type checking by editing the code – but note that updates will need to be re-edited to retain that change)

    Based on those steps above, I’ll mark this thread as resolved. If you have any other questions on this, please let me know and I’ll review and answer.

    Thread Starter msbt

    (@msbt)

    Hi @melliesou, thanks for getting back to me. Any pointers which part I have to edit to get there? At least which file would be a good start.

    Plugin Author melliesou

    (@melliesou)

    Hi @msbt

    Best place to start is this file: \includes\file-uploader\class-file-uploader.php (Look for references to the “get_allowed_filetypes” function and trace the execution path to find where it is used to filter out files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Allow all file types for attachment uploads’ is closed to new replies.