[wp-trac] [WordPress Trac] #37534: Saving an array with update_post_meta bug

WordPress Trac noreply at wordpress.org
Mon Aug 1 04:00:31 UTC 2016


#37534: Saving an array with update_post_meta bug
--------------------------------+------------------------------
 Reporter:  Pulsar_Media        |       Owner:
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:  4.5.3
 Severity:  normal              |  Resolution:
 Keywords:  reporter-feedback   |     Focuses:
--------------------------------+------------------------------

Comment (by Pulsar_Media):

 well slap me silly...turns out not passing in the third parameter as true
 wraps your value in an array...otherwise it doesn't........son of a bitch!

 thanks for pointing that out...all good now :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37534#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list