[wp-trac] [WordPress Trac] #19764: Invalid JSON in custom fields meta value after export
WordPress Trac
wp-trac at lists.automattic.com
Fri Jan 6 17:32:09 UTC 2012
#19764: Invalid JSON in custom fields meta value after export
--------------------------------+------------------------------
Reporter: abdessamad idrissi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Import | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------------+------------------------------
Changes (by duck_):
* version: 3.3.1 =>
* component: Export => Import
Comment:
Replying to [comment:2 abdessamad idrissi]:
> I think it has to do with the WordPress import utility because when I
check the exported XML file I find the backslashes there.
Yep. The importer uses add_post_meta() which calls add_metadata() which
strips slashes from the value.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19764#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list