Changes between Initial Version and Version 1 of Ticket #34845
- Timestamp:
- 12/04/2015 02:21:32 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34845
- Property Component General → Import
- Property Milestone Awaiting Review → WordPress.org
- Property Summary Serialized custom fields are ignored → Serialized custom fields are ignored on import
-
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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)