Timeline for Add mime types with plugin
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 5, 2011 at 22:23 | comment | added | joshmax | Thanks. You helped me get some new code working on a newer WP install, but another WPMS install is still not working. Please see updated info on question. THANKS! | |
Dec 4, 2011 at 17:18 | comment | added | chrisguitarguy |
The upload_mimes filter is the only way to modify them. As long as your hooked function doesn't throw any PHP errors/warning it should be okay.
|
|
Dec 4, 2011 at 5:26 | comment | added | joshmax | Sarcasm aside, thanks for your answer ;P I'll give this a shot when I get back to work on Monday. Also, is there a way I can modify the mime types before the headers are sent? Wouldn't that fix my error? | |
Dec 2, 2011 at 23:10 | history | answered | chrisguitarguy | CC BY-SA 3.0 |