WP_Query should unserialize serialized data before matching
|Reported by:||Doggie52||Owned by:|
When storing an array (from a custom field, for example) in the database, it gets serialized. After having been serialized, there is to my knowledge no way to perform a meta_query with another (either serialized or unserialized) array and match the two. This can become a major hassle, as arrays are the preferred form of storing data for a host of different types of custom fields.
WP_Query should, preferably, check for serialized data and unserialize it before attempting to match against an array, should it not?
Change History (4)
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed