Fixed issue with Menu import

When you import demo content, all things as Page, Post, Custom Post type, Category is working well but only menu does not import

How to fix it?
In plugin WordPress Importer version 0.6.3  open file wordpress-importer.php. In function process_menu_item line 884. Replace

foreach ( $item['postmeta'] as $meta )
$$meta['key'] = $meta['value'];

with

foreach ( $item['postmeta'] as $meta ){
$varName = $meta['key'];
$$varName = $meta['value'];
}

Leave a Reply

Your email address will not be published. Required fields are marked *