[wp-trac] [WordPress Trac] #15339: Custom Fields invalid export for serialized objects

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 8 11:52:11 UTC 2010


#15339: Custom Fields invalid export for serialized objects
--------------------------+-------------------------------------------------
 Reporter:  GDragoN       |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Export        |     Version:  3.0.1          
 Severity:  major         |    Keywords:                 
--------------------------+-------------------------------------------------
 When I export data to XML, custom fields are exported wrong. If a custom
 field contains serialized object, when exported whole object is considered
 string and exported as serialized string.

 Instead this:

 {{{ <![CDATA[O:8:"MyObject":6:{....}]]> }}}

 I get this in XML:

 {{{ <![CDATA[S:240:"O:8:"MyObject":6:{....}";]]> }}}

 Milan

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


More information about the wp-trac mailing list