[wp-trac] [WordPress Trac] #15030: Unserialize deep when returning arrays of metadata

WordPress Trac wp-trac at lists.automattic.com
Mon Oct 4 11:05:52 UTC 2010


#15030: Unserialize deep when returning arrays of metadata
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15030>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list