Support » Plugin: CMS Tree Page View » post_type is changed after moving tree node

  • Hello.
    I tried to use this plugin for page with posts that have two different post types (for example page, custom_type).
    After moving custom_type post after/before page, custom post_type is changed to page and vice versa. I’m not sure this is bug or normal behavior.
    Looks like post_type is changed in function cms_tpv_move_page in lines
    post_type" => $post_ref_node->post_type. (lines 1605, 1627, 1648 in version 1.2.10)
    I understand that this is not common case, but I suppose that post_type shouldn’t change after moving, and propose to use $post_node instead of $post_ref_node

  • The topic ‘post_type is changed after moving tree node’ is closed to new replies.