[wp-trac] [WordPress Trac] #20853: get_post_custom show directly serialized data from the post_meta arrays.

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 6 20:44:03 UTC 2012


#20853: get_post_custom show directly serialized data from the post_meta arrays.
--------------------------+------------------------------
 Reporter:  shadowhck     |       Owner:
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  1.5
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |
--------------------------+------------------------------

Comment (by shadowhck):

 So, would be good to add an option to this function to deserialize the
 serialized data?

 Example:

 {{{
 get_post_custom($post_id, true);
 }}}


 :/

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20853#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list