I’m experiencing a weird issue with Mime Types on WordPress 3.3.2.
I was trying to upload a zip file, and it was possible on the local version of the website I’m working on. But not on the online version of the same website. Same theme, but in local is a single site, online is part of a network (multisite).
I later discovered that if I run get_allowed_mime_types() in local, I get a well endorsed list of allowed mime types.
But when I run it on the living version, I get an empty array. Or false. Or “”. Can’t say precisely. But, the weirdo is that no Mime Type is present. In fact, I cannot upload pictures, or any other kind of file.
Did it happen to any of you before? I guess I could reconstruct the list, but I would like to understand how this could happen in the first place, before to proceed.
Thanks in advance, best,
- The topic ‘get_allowed_mime_types() return false (no Mime Type present at all)’ is closed to new replies.