[Plugin: Simple Facebook Connect] Bug with Custom post types and publish
-
Hi Otto,
I’ve found quite a subtle bug and haven’t tracked down the cause yet.If I have a custom post type and I turn on the publish from backend option all the backend links to edit that post break.
So say I have a post-type called “Animals”, in the admin edit screen I get a list of all my animals, with the “Publisher” option enabled whenever I click on an animal’s title to edit it – it takes me to the wrong page.
The really weird thing is that the URLs remain correct, I can see that the correct post ID is in the link, but when I visit that URL I get the wrong post. The site frontend works perfectly, it’s just the admin routing that’s corrupted.
So if my post ID for an animal called “Samson” is 1848, when I visit /?p=1848 on the frontend I get “Samson” but if I visit /wp-admin/post.php?post=1848&action=edit on the admin I get some other animal – and it’s not even the same one each time!
Turn off the publish option in SFC and everything works again.
Builtin post types work correctly, it’s just custom post types that are impacted.
- The topic ‘[Plugin: Simple Facebook Connect] Bug with Custom post types and publish’ is closed to new replies.