'menu-item-type' =>
$value['type'
],
'menu-item-title' =>
$value['title'
],
'menu-item-url' =>
$value['url'
],
'menu-item-description' =>
$value['description'
],
'menu-item-attr-title' =>
$value['attr_title'
],
'menu-item-target' =>
$value['target'
],
'menu-item-classes' =>
$value['classes'
],
'menu-item-xfn' =>
$value['xfn'
],
'menu-item-status' =>
$value['status'
],
);
$r =
wp_update_nav_menu_item( $value['nav_menu_term_id'
],
$is_placeholder ? 0 :
$this->post_id,
wp_slash( $menu_item_data ) );
if ( is_wp_error( $r ) ) { $this->update_status = 'error';
$this->update_error =
$r;
} else { if ( $is_placeholder ) { $this->previous_post_id =
$this->post_id;