Support » Plugins » Hacks » add_post_meta without serializing the array?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    I’m not sure what’s going on here, all array and object data is serialized by both functions, whether you like it or not. But when you get_post_meta(), the data is unserialized back into an array or object, so it shouldn’t make any difference to your plugin how it is actually stored, you should get back what you put into it.

    I can only imagine data somehow is being serialized twice, but only unserialized once.

Viewing 1 replies (of 1 total)
  • The topic ‘add_post_meta without serializing the array?’ is closed to new replies.