[wp-trac] [WordPress Trac] #40596: Export/import creates empty menus

WordPress Trac noreply at wordpress.org
Fri Apr 28 16:34:39 UTC 2017


#40596: Export/import creates empty menus
---------------------------+------------------------------
 Reporter:  RavanH         |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Import         |     Version:  4.7.4
 Severity:  normal         |  Resolution:
 Keywords:  needs-testing  |     Focuses:
---------------------------+------------------------------

Comment (by RavanH):

 WP_DEBUG log shows these notices

 {{{
 [28-Apr-2017 14:45:56 UTC] PHP Notice:  Undefined variable:
 _menu_item_type in /home/grainsdihq/www/wp-content/plugins/wordpress-
 importer/wordpress-importer.php on line 886
 [28-Apr-2017 14:45:56 UTC] PHP Notice:  Undefined variable:
 _menu_item_type in /home/grainsdihq/www/wp-content/plugins/wordpress-
 importer/wordpress-importer.php on line 888
 [28-Apr-2017 14:45:56 UTC] PHP Notice:  Undefined variable:
 _menu_item_type in /home/grainsdihq/www/wp-content/plugins/wordpress-
 importer/wordpress-importer.php on line 890
 }}}

 but no errors are reported. This is on PHP7, will test on PHP5.6 now...

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


More information about the wp-trac mailing list