[wp-trac] [WordPress Trac] #28297: Losing custom nav menu data while importing / exporting XML

WordPress Trac noreply at wordpress.org
Sun May 18 03:27:02 UTC 2014


#28297: Losing custom nav menu data while importing / exporting XML
--------------------------+------------------------------
 Reporter:  isharis       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Import        |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by isharis):

 Replying to [ticket:28297 isharis]:
 > I have added few fields to the menu for mega menu functionality which
 works fine: https://gist.github.com/mharis/150f43e09adf72d7d0bb
 >
 > I tried to export my site content and the exported XML file did have all
 the navigation items and custom menu fields with their correct values
 (https://www.dropbox.com/s/7i2l3x2mvpgup58/xml-test.xml).
 >
 > The problem happens when importing the XML file, only the keys are
 imported from the custom navigation menu fields and not the values. The
 values are stripped even through the data seems correct in the XML file.
 >
 > Any thoughts over it?

 Fixed ^. Sorry about the typos.

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


More information about the wp-trac mailing list