AAAAAAAAAAAAAAAAAAAAAAAARRRGH!
I’m really not a happy camper about this. I’ve now burned > 5 hours just tracing through code trying to figure out why something which worked as expected a few weeks ago wasn’t working at all now.
I’ve found one looks like a bug: /wp-admin/edit-form-advanced.php sets the “action” hidden value to editpost by default, and because of that, the check_admin_referer function chokes, as the form is coming from post-new.php, not an “edit-” file. Putting in some hacks to allow post-new.php to
$form_action = 'post';
And then make edit-form-advanced.php check for a pre-set value
if(!isset($form_action)) { $form_action = 'editpost'; } // HACK! HACK! HACK!!!
…at least changed the error from “silently dumps you out to gives you an error message that your post could not be posted.” Helpful.
There’s also a redirect issue. My WordPress network contains 2 sites, a webcomic site and a blog. Both of those sites you can post posts and pages to… it’s just that the redirect is broken, so it dumps you to the post listing, which was causing me to believe the posting wasn’t working (as that was what I was seeing on my latest-and-greatest site #3). So at least I can make my scheduled updates. I can’t look into why the redirects consistently redirect you to /wp-admin/edit.php even when posting a new page right now, but posting a page successfully should redirect you to edit.php?post_type=page
Sites are silently failing to save drafts. If you click “Save Draft” you get redirected to edit.php, with no draft saved. Why? Don’t know, my brain’s hash.
However, even more exciting, creating a new blog under 3.0.2 throws a 500 error; the blog ID is insterted, and a handful of tables are installed… but not the full compliment. And all the issues above stem from there not being a _posts table for the new blog I created after updating to 3.0.2, and therefore there being no place to put anything.
TL;DR: I need sleep, periods are turning into semicolons and I can’t focus. Any suggestions on what to actually look for and debug to figure out why would be nice. Cherokee isn’t even adding anything useful to the error log, so hurray. I get to “add a zillion prints and dies to find where it keels over” and I’m not up to that without some sleep.