How can I convert postmeta from unserialized to serialized?
I would probably take an alternative route and let the serialization happen at the end after the data was already merged like in the example below. So first query meta data for both old keys. Then merge the old data into an array (regular or associative) with post ID as key. Then use the resulting … Read more