Help! Serialized data.
-
Hi,
When saving post data, there are cases where MF sends arrays even if only one value is allowed (like a dropdown menu with only oneoptionallowed).
The result is the data is saved as a serialized array containing one item (WordPress serializes passed arrays).
This makes custom queries uselessly complicated and breaks functionnalities for plugins which doesn’t handle serialized data.I successfully modified
mf_post.phpto save the value of a specific field as string, but it would be more efficient to filter out fields bytype.
However I’m only able to use the$field_namevariable, I can’t get the$field_typevariable.I wonder what happened with the function
mf_process_value_by_type($field_name,$value)inmf_post.php->mf_save_post_data( $post_id ).
It seems it never got implemented.If a developer could chime in, please.
Any help would be greatly appreciated.Fabrice
The topic ‘Help! Serialized data.’ is closed to new replies.