WordPress.org

Ready to get started?Download WordPress

Forums

Remove upload filetype security check (3 posts)

  1. psysex
    Member
    Posted 7 years ago #

    Hello,
    I want to to upload any file I want i - ZIP, RAR, EXE and so on, to my wodpress blog. I'm the only one that posts on it so I don't care about the security of posting.
    How to remove security checks in wordpress?
    I edited admin-functions.php and set $test_type = false, now I can upload any files but the dot between filename and extension is missing - if I upload file.rar it appears as filerar!?

  2. whooami
    Member
    Posted 7 years ago #

    You missed the comment above what you edited?

    // If you override this, you must provide $ext and $type!!!!

  3. AzzQim
    Member
    Posted 6 years ago #

    Yep, so how do I/we make WP not remove the dot :D I really don't know what to do with $type and $ext so any advice would be helpful :P

Topic Closed

This topic has been closed to new replies.

About this Topic