[wp-trac] [WordPress Trac] #10656: Creating or updating serialized custom field values via XML-RPC serializes them again

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 5 19:11:21 UTC 2009


#10656: Creating or updating serialized custom field values via XML-RPC serializes
them again
----------------------------+-----------------------------------------------
 Reporter:  JonathanRogers  |       Owner:  josephscott     
     Type:  defect (bug)    |      Status:  new             
 Priority:  high            |   Milestone:  2.9             
Component:  XML-RPC         |     Version:  2.9             
 Severity:  normal          |    Keywords:  has-patch tested
----------------------------+-----------------------------------------------
Changes (by Sewar):

  * keywords:  has-patch => has-patch tested
  * version:  2.8.4 => 2.9
  * milestone:  Unassigned => 2.9


Comment:

 The bug is in using stripslashes and trim functions which returns strings,
 so they will convert any value to string (like arrays to "Array"). I have
 tested it with XML-RPC "metaWeblog.newPost" and worked very well.

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


More information about the wp-trac mailing list