Since meta_queries don’t take maybe_serialize() into account, and since serialized strings are doubly serialized, there is a situation where a value can be stored in post meta that cannot be retrieved. Adding an optional $strict
flag to metadata functions that casts all values as strings, without conversion, would solve this issue.
Read-only archive: https://petitions.classicpress.net/posts/124/add-a-flag-to-enable-disable-maybe_serialize-functionality-on-metadata
Author: Greg Schoppe
Vote count: 6
Status: open
No comments posted.