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

WordPress Trac noreply at wordpress.org
Mon Feb 26 15:51:27 UTC 2018


#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:  needs-patch needs-testing  |     Focuses:
---------------------------------------+------------------------------

Comment (by QantumThemes):

 I found and fixed the issue in wordpress-importer.php, actually using our
 patched library for demo site importing in pur plugins, which isn't good
 as it will break if any core update will come. SO i'm sharing the fix in
 case you want to provide an official upgrade of the file.

 {{{#!php
 <?php
 ${$meta['key']} = $meta['value'];

 }}}
 and NOT
 {{{#!php
 <?php
 $$meta['key'] = $meta['value'];
 }}}

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


More information about the wp-trac mailing list