Using a CPT is triggering these.
PHP Notice: Undefined index: post_id in /htdocs/wpforms/wp-content/plugins/duplicate-and-merge-posts/admin/duplicate-post.php on line 849
PHP Notice: Undefined property: WP_Post_Type::$post_author in /htdocs/wpforms/wp-content/plugins/duplicate-and-merge-posts/admin/duplicate-post.php on line 78
PHP Notice: Undefined property: WP_Post_Type::$post_type in /htdocs/wpforms/wp-content/plugins/duplicate-and-merge-posts/admin/duplicate-post.php on line 79
]]>
Will this plugin work in 4.4?
Trying to figure out how to streamline below:
1. Consolidate all the posts for one year into a single post, including using their thumbnails as images in the post. Merge the tags / categories.
3. Delete and 301 redirect the old urls of the merged posts via htaccess to the new merged post.
Thx
https://www.ads-software.com/plugins/duplicate-and-merge-posts/
]]>The Jetpack Publicize options are disabled for any post that I have duplicated with this plugin.
The facebook link tickbox is disabled and does not have a tick, but it is posting to fb anyway…
Could you please provide a fix so I can control if duplicated posts are publized or not
Thanks for the great plugin
Kane
https://www.ads-software.com/plugins/duplicate-and-merge-posts/
]]>I’ve been trying to get the ID of newly duplicated post. The recommended method to duplicate a post is:
DuplicatePost::_duplicate_post( $original_post );
But that method returns nothing.
I’ve found this way to do the same and get the duplicated post ID:
$DuplicatePost = DuplicatePost::getInstance();
$duplicated_post_id = $DuplicatePost->duplicate_post_create_duplicate( $post );
Any better way?
https://www.ads-software.com/plugins/duplicate-and-merge-posts/
]]>Hey guys, I wanted to reach out to you and let you know that your plugin has a handful of functions that are named the same as plugins in All in One Event Calendar:
Because of these name conflicts, I wasn’t able to use the clone command. AI1EC would intercept the request and ask for a nonce; since the nonce wasn’t set by AI1EC, it wouldn’t pass, and I couldn’t clone my post. This happened even though I was on the Posts screen and not the Events screen.
I got around this by forking the plugin and namespacing the duplicate_post_save_as_new_post function. The other functions might need namespacing too, I’m not sure.
I’d be happy to do a pull request for this, if you’ve got a repo set up.
https://www.ads-software.com/plugins/duplicate-and-merge-posts/
]]>Hi Guys,
I’ve noticed if you alter the title of a duplicated post that change does not persist when merged back to the original.
It retains the original title.
https://www.ads-software.com/plugins/duplicate-and-merge-posts/
]]>I did this:
duplicate original post (A), edit new post (Dup A) and save as draft.
duplicate original post (A) again, edit new post (Dup A) [confusing it gets the same same as when I did the first dupe].
I merged the second one to the original. It overwrote the original.
I merged the first one to the original. it overwrote the original and lost the changes I’d made in the second dupe.
Friendly suggestions:
1) Make this behavior more clear.
2) When merging force the user to view a diff before committing that merge.
https://www.ads-software.com/plugins/duplicate-and-merge-posts/
]]>Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /srv/www/wordpress-default/wp-content/plugins/duplicate-and-merge-posts/admin/php_diff/Diff/Renderer/Html/Array.php on line 180
https://cloudup.com/cG4TOvaaHpL
Note, this raises the questions as to why your using your own diff library instead of WP Core’s revision’s API? I’m not saying there isn’t a reason to do so, just wondering what that reason might be?
https://www.ads-software.com/plugins/duplicate-and-merge-posts/
]]>Hey guys, just wanted to give you a heads up that the plugin is throwing some notices and warnings in WP Debug mode.
From the admin list posts screen:
Notice: Undefined property: stdClass::$post_author in /srv/www/psmain/htdocs/wp-content/plugins/duplicate-and-merge-posts/admin/duplicate-post.php on line 78
Warning: in_array() expects parameter 2 to be array, string given in /srv/www/psmain/htdocs/wp-content/plugins/duplicate-and-merge-posts/admin/duplicate-post.php on line 108
Easy enough to fix up, but thought you’d want to be aware.
https://www.ads-software.com/plugins/duplicate-and-merge-posts/
]]>When we installed Duplicate and Merge Posts, a message came up saying the plugin did not have a valid header. Not sure if this is cause for concern, so we haven’t attempted to activate it.
https://www.ads-software.com/plugins/duplicate-and-merge-posts/
]]>