- This topic has 5 replies, 2 voices, and was last updated 1 year, 9 months ago by .
-
Topic
-
Hi,
I have a post_type with several different MetaBoxes.
Each MetaBox is editable using the front-end submission extension.
One field in a contact information MetaBox is a select advanced and saves a serialized array to the custom table. This works as expected.
a:1:{i:0;s:5:"18063";}
When updating any field in any MetaBox outside of the contact information MetaBox, the array is re-saved to the custom table as a string.
s:22:"a:1:{i:0;s:5:"18063";}";
If I edit the select_advanced field again, the data is saved properly.
a:1:{i:0;s:5:"18063";}
This behavior is not replicated when saving data to a post_type with single MetaBox now when saving data to the post_meta table. Only when saving multiple MetaBoxes to a custom table and only when using front-end submission, back-end submission works as expected.
Any idea what could cause this?
Thanks!
- You must be logged in to reply to this topic.