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 examplepage
,custom_type
).
After movingcustom_type
post after/beforepage
, custompost_type
is changed topage
and vice versa. I’m not sure this is bug or normal behavior.
Looks likepost_type
is changed in functioncms_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.