Support » Fixing WordPress » Remove upload filetype security check

  • 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!?

Viewing 2 replies - 1 through 2 (of 2 total)
  • whooami



    You missed the comment above what you edited?

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

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove upload filetype security check’ is closed to new replies.