Make WordPress Core

Opened 8 years ago

Last modified 19 months ago

#15030 closed defect (bug)

Unserialize deep when returning arrays of metadata — at Initial Version

Reported by: nacin Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Options, Meta APIs Keywords: revert
Focuses: Cc:


Currently when retrieving an array of metadata values, they are retrieved as unserialized. Only when $single = true 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 (0)

Note: See TracTickets for help on using tickets.