WordPresss 2.1.x and JavaScript Bug
March 23rd, 2007
I’m not sure if everyone is suffering from this bug, but I’ve experienced it on 2 separate installs WP 2.1.2 (and since this is 2.1.3 RC1 it still hasn’t been addressed). What happens is, when attempting to post, delete, change categories, just about anything that requires some “AJAXy goodness”, you get an error, “you don’t have permission to do that”.
I didn’t come across the nature of the bug until yesterday while doing some research in the support forums, , and alas, in both Safari and FireFox, if I disable javascript, I do not get the permissions error. I’ve done all kinds of other trouble shooting, from a blank install with no plugins, to deleting cookies, caches and the kitchen sink. I really hope this gets addressed soon, it’s far more troubling to me than some remotely dangerous security issue.



I’ve never experienced this bug and almost exclusively use Firefox. Could it be a Mac issue?
I think I’ve narrowed it down to the auto save feature. If write a post, and it goes through the auto save, and then try and publish, it kicks out the post. Usually, since I’m expecting this, I copy the content over before hitting save, rather than disable javascript in the browser. Upon the post not saving, if I paste the content, and hit publish before the auto save starts, the post publishes with no problems. I’ll check out the bug tracker to see if that’s been mentioned.