[wp-trac] [WordPress Trac] #46575: Issue with WP Export - adding spaces to .xml file

WordPress Trac noreply at wordpress.org
Thu Mar 28 09:27:57 UTC 2019


#46575: Issue with WP Export - adding spaces to .xml file
--------------------------+------------------------------
 Reporter:  juliarrr      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Export        |     Version:  5.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by aristath):

 * component:  General => Export


Comment:

 Just to add to this, this is not limited to `<title>` elements. As
 mentioned on https://core.trac.wordpress.org/ticket/46656 the coding-
 standards fixes in
 https://core.trac.wordpress.org/changeset?old_path=%2Ftags%2F5.0.3%2Fsrc
 %2Fwp-
 admin%2Fincludes%2Fexport.php&old=45013&new_path=%2Ftags%2F5.1.1%2Fsrc
 %2Fwp-admin%2Fincludes%2Fexport.php&new=45013&sfp_email=&sfph_mail=#file0
 result in a lot of whitespace that breaks things on imports - both for
 menu items as well as content using any page-builder.
 It's really annoying having to manually edit the exported XMLs to remove
 whitespace before importing them on another site - and I'm sure not
 everyone can do that.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46575#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list