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

WordPress Trac noreply at wordpress.org
Sun May 18 03:19:47 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        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I have added few fields to the menu for mega menu functionality:
 https://gist.github.com/mharis/150f43e09adf72d7d0bb

 This works fine and when I tried to export the site content which did have
 all the navigation items and the custom fields and its values in the XML
 file (https://www.dropbox.com/s/7i2l3x2mvpgup58/xml-test.xml) which is
 perfectly fine.

 The problem happens when importing, only the keys are imported for the
 custom navigation menu fields and not its value. The values are stripped
 even through the data seems correct in the XML file.

 Any thoughts over it?

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


More information about the wp-trac mailing list