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_typepost after/beforepage, custompost_typeis changed topageand vice versa. I’m not sure this is bug or normal behavior.
Looks likepost_typeis changed in functioncms_tpv_move_pagein 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_nodeinstead of$post_ref_node
The topic ‘post_type is changed after moving tree node’ is closed to new replies.