WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #15030


Ignore:
Timestamp:
10/04/10 11:10:47 (4 years ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15030

    • Property Keywords has-patch added
    • Property Milestone changed from Awaiting Review to 3.1
  • Ticket #15030 – Description

    initial v2  
    1 Currently when retrieving an array of metadata values, they are retrieved as unserialized. Only when $single = true do we unserialize. 
     1Currently 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. 
    22 
    33We should array_map( 'maybe_unserialize' ) on what we plan to return instead of forcing plugins to call that themselves.