How to fix Error 500 (or 302) in WordPress

After having updated WordPress to version 2.0.5, you can find some Error 500 (or 302) when writing new posts (you’ll fortunately not lose any content). Mark Jaquith wrote a simple plug-in to fix this little annoyance. Upload it, activate it and you’re free from this small bug.