WordPress.org

Ready to get started?Download WordPress

Ideas

File type restriction for uploader

  1. Trân Minh-Quân
    Member

    Please, for security concerns, implement a file type restriction for the uploader, based on role would be best while we don't have a better user system.
    PHP uploading is dangerous, and there is only Contributer who can write and cannot upload.
    Author should have the ability to upload but please don't let them upload PHP files. :)

    Posted: 4 years ago #
  2. Alex Dunae
    Member

    The WP upload_mimes filter will do that for you.

    Posted: 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    0 Votes
  • Status

    This idea has been implemented