[wp-trac] [WordPress Trac] #15252: Import WXR breaks serialized postmeta that contains a space before the end of a line.
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 29 18:54:11 UTC 2010
#15252: Import WXR breaks serialized postmeta that contains a space before the end
of a line.
--------------------------+-------------------------------------------------
Reporter: shawnparker | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: WordPress.org site
Component: Import | Version:
Severity: normal | Keywords: reporter-feedback
--------------------------+-------------------------------------------------
Comment(by shawnparker):
Our solution for #14509 was to maybe_unserialize our post meta after
pulling it (so we double-maybe_unserialize the double-serialized data).
Extraneous? yes. Functional? yes.
I'll give the development version of the importer a try. Through further
testing I've found that the `rtrim()` isn't the whole issue but that we're
also seeing a carriage return character being doubled.
I'll see if I can generate a dummy WXR - I don't want to post any client
specific info here and I haven't gotten too deep in to reproducibility
tests yet.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15252#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list