There are plugins which can be used to clone content within the site. The most popular is now called Yoast Duplicate Posts, plugin slug: duplicate-posts.
When you clone a post using this plugin, all of the post meta data is cloned.
This includes oik-clone's metadata.
When the post is published, then cloned, rather than creating a new post on the target sites the original cloned post is updated.
Actual result:
Subsequent cloning of a duplicated post will update the original post.
Expected result:
The duplicated post should be cloned to a new post.
Requirement
Don't clone _oik_clone_ids when creating a duplicate post
Proposed solution
Implement a filter function for duplicate_post_excludelist_filter to add _oik_clone_ids and oik_clone_dnc to the array.
There are plugins which can be used to clone content within the site. The most popular is now called Yoast Duplicate Posts, plugin slug: duplicate-posts. When you clone a post using this plugin, all of the post meta data is cloned. This includes oik-clone's metadata. When the post is published, then cloned, rather than creating a new post on the target sites the original cloned post is updated.
Actual result: Subsequent cloning of a duplicated post will update the original post. Expected result: The duplicated post should be cloned to a new post.
Requirement
_oik_clone_ids
when creating a duplicate postProposed solution
duplicate_post_excludelist_filter
to add_oik_clone_ids
andoik_clone_dnc
to the array.