[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:13:08 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: Export | Version: 3.3.1
Severity: normal | Keywords:
--------------------------------+-----------------------------
Hey there,
I exported a working copy of my online WordPress site to a local copy and
noticed that the code gets changed; The backslash is removed which causes
the json format to be invalide.
Original code in the custom fields meta
{{{
{"videos":{"0":"<iframe width=\"480\" height=\"360\"
src=\"http://www.youtube.com/embed/YAozOaxXYx4\" frameborder=\"0\"
allowfullscreen></iframe>"}}
}}}
Becomes in the local site after import
{{{
{"videos":{"0":"<iframe width="480" height="360"
src="http://www.youtube.com/embed/YAozOaxXYx4" frameborder="0"
allowfullscreen></iframe>"}}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19764>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list