Meta field in unicode and array with strings (NOT UTF-8 and NOT OBJECT)
-
Hello guys! I’ve check that if I ask for full meta data (inside meta object/array) ALL meta keys are in arrays (with strings inside) and the suppose json object it’s only a string in unicode.
Something like:
“map”: [ “a:3:{s:7:\”address\”;s:0:\”\”;s:3:\”lat\”;s:11:\”-39.5642XXX\”;s:3:\”lng\”;s:19:\”-51.4915600XXX\”;}” ]
The thing is… WHY or, how to fix it. That info should be on UTF-8 so I can easily parse it.
It should be something like this:
“map”: {
“address”: “some adress here”,
“lat”: “-39.5642XXX”,
“lng”: “-51.4915600XXX”
}If I override the meta key with an Advance Custom Field plugin it works perfect (get’s a UTF-8 decode) but, the original info it’s gone and my custom meta from the theme inside is useless.
Any help???? Please!!! Thanks in advance!
- The topic ‘Meta field in unicode and array with strings (NOT UTF-8 and NOT OBJECT)’ is closed to new replies.