I’m using WordPress 3.4.2 for a private blog, i.e. one on which only I can post. Now, WordPress prevents me from uploading certain file types (like C# source files). As far as I understand it, there’s a white-list that defines what can be uploaded.

Is there a plugin that can extend – or better, even disable – this white-list?

All other answers tell me I should edit my theme but I’d rather have a plugin for that (so that I don’t need to edit all my themes).

Also, I found this plugin but, again, it requires me to edit some file on my server (that’s probably overwritten when the plugin is updated).

So, is there anything else?

3 s
3

You can create a plugin or add this to the config file, but for 3.9.2 this worked for me.

define('ALLOW_UNFILTERED_UPLOADS', true);

Leave a Reply

Your email address will not be published. Required fields are marked *