WordPress.org

Ready to get started?Download WordPress

Forums

CMS Tree Page View
post_type is changed after moving tree node (1 post)

  1. IllusionMH
    Member
    Posted 12 months ago #

    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

    http://wordpress.org/extend/plugins/cms-tree-page-view/

Reply

You must log in to post.

About this Plugin

About this Topic