Post meta is deleted when publishing a draft
-
Hey Guys,
My client reports that when publishing a custom post type, that was previously saved as a draft, all the data in the custom meta boxes are lost. I can’t replicate the error, but I got him to switch to Chrome where the error still persists.
The fact that I can’t replicate the error(In any browser) makes this really hard to debug. I’m hoping some of you might have run into simmilar issues and know of a solution.
Here’s a pastebin of the PHP function that saves my meta data: https://pastebin.com/Y5zpmDCx
I’m running WordPress 3.3.1 on an Ubuntu cloud server.
Any feedback or help is greatly appreciated.
- The topic ‘Post meta is deleted when publishing a draft’ is closed to new replies.