Changes between Initial Version and Version 1 of Ticket #34845
- Timestamp:
- 12/04/2015 02:21:32 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34845
-
Property
Milestone
changed from
Awaiting Review
toWordPress.org
-
Property
Component
changed from
General
toImport
-
Property
Summary
changed from
Serialized custom fields are ignored
toSerialized custom fields are ignored on import
-
Property
Milestone
changed from
-
Ticket #34845 – Description
initial v1 2 2 3 3 we would like to report a bug related with .xml file import. Data from our builder are stored in $items table. Post meta values entry are made with below code: 4 4 {{{ 5 5 $new = wp_slash( $items ); 6 6 update_post_meta( $post_id, 'mfn-page-items', $new ); 7 7 }}} 8 8 And in accordance to your documentation https://codex.wordpress.org/Function_Reference/update_post_meta#Character_Escaping, we use "wp_slash" function. Table with data is saving and reading properly. The problem is when we export .xml file with Tools > Export and when we try to import data with built-in Tools > Import > WordPress option, serialised table is ignored and we get empty field. 9 9