Add a flag to enable/disable maybe_serialize() functionality on metadata

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: Issues · ClassicPress/ClassicPress · GitHub

Author: Greg Schoppe

Vote count: 6

Status: open

No comments posted.

Anyone has any opinions on this?

This petition will be closed but the status of the request can be tracked on GitHub:

This topic was automatically closed after 3 days. New replies are no longer allowed.