Unserialize deep when returning arrays of metadata
|Reported by:||nacin||Owned by:|
|Component:||Options, Meta APIs||Keywords:||needs-patch|
Description (last modified by nacin)
Currently when retrieving an array of metadata values for an object (no meta key specialized), they are retrieved as serialized. Only when meta key is specified do we unserialize.
We should array_map( 'maybe_unserialize' ) on what we plan to return instead of forcing plugins to call that themselves.
Change History (6)
- Description modified (diff)
- Keywords has-patch added; needs-patch removed
- Milestone changed from Awaiting Review to 3.1