Title: Nick Sinclair's Replies | WordPress.org

---

# Nick Sinclair

  [  ](https://wordpress.org/support/users/nicksinclair/)

 *   [Profile](https://wordpress.org/support/users/nicksinclair/)
 *   [Topics Started](https://wordpress.org/support/users/nicksinclair/topics/)
 *   [Replies Created](https://wordpress.org/support/users/nicksinclair/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/nicksinclair/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/nicksinclair/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/nicksinclair/engagements/)
 *   [Favorites](https://wordpress.org/support/users/nicksinclair/favorites/)

 Search replies:

## Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] Plugin rearranges posts (v3.0.7)](https://wordpress.org/support/topic/plugin-rearranges-posts/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-rearranges-posts/#post-18826505)
 * Yeah, understood – thanks again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] Plugin rearranges posts (v3.0.7)](https://wordpress.org/support/topic/plugin-rearranges-posts/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/plugin-rearranges-posts/#post-18825284)
 * Mate, thank you, that’s awesome and you’re awesome.
 * The only thing that could make that better would be if it were possible to use
   the menu_order of the item you’ve duplicated and then add 1 to that, so that 
   when the page refreshes the copy appears _after _the object you originally duplicated,
   but I’m not sure how that would affect the rest of the ordering.
 * This is certainly working great for the time being though; I might just configure
   the plugin so that when the new post is created, it automatically goes into “
   Edit” instead of refreshing the page so the users don’t have to search for the
   copy at the bottom of the screen.
 * Thanks again for your hard work. It’s a great plugin.
 * N.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] Plugin rearranges posts (v3.0.7)](https://wordpress.org/support/topic/plugin-rearranges-posts/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [6 months ago](https://wordpress.org/support/topic/plugin-rearranges-posts/#post-18814545)
 * Hi [@joemc](https://wordpress.org/support/users/joemc/),
 * The plugin I’m using is [Simple Custom Post Order](https://wordpress.org/plugins-wp/simple-custom-post-order/)
 * I tested it again and it seems as though the problem might be that:
    - I rearrange my posts using SCPO
       * Front page is now menu_order = 1
    - Hit refresh
    - Rearrange some more (without refreshing)
    - Duplicate a page with your plugin (which refreshes the page)
    - Now the pages are listed by post_title ASC rather than menu_order
       * Front page is now menu_order = 35
 * It’s possible it’s a conflict with SCPO because I _think_ the way that plugin
   is working is that it saves the post order on _page load / unload / refresh_ 
   rather than using an AJAX request.
 * Let me know if a video might help.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] Not creating same Post Type (v2.39)](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/#post-18300163)
 * Hi,
 * I’m not sure if v2.40 resolved the issue, but I wanted to try an experiment anyway.
 * I inserted the following code into your includes/settings.php file:
 *     ```wp-block-code
       add_action( 'pre_plugin_update', 'mtphr_post_duplicator_initialize_settings' );
       ```
   
 * then I ran my test again with this patch and everything seemed to work (but updated
   to v2.40 instead of v2.39). I didn’t need to re-save the settings in the admin
   area or anything like that.
 * The thinking was to get the plugin to save its config settings prior to updating
   in an attempt to “force” it to stick.
 * Not sure if that helps or not, just thought I’d share.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] Not creating same Post Type (v2.39)](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/#post-18297761)
 * > I do see that the default Post Status setting on the old version is “Same as
   > Original” but I have the default in the new version set to “Draft”. So, that
   > would make a difference if the settings where never saved prior to updating
   > the plugin. Does this seem like this could be the issue you are seeing?
 * Yeah, that makes sense – I’ve never saved/changed the Settings from the default
   for this plugin on any site. I’ve never needed to.
 * I tested again with vanilla WP 6.7.1, PHP 8.0 on InstaWP installing v2.37 first.
    1. Install v2.37
    2. Noticed the default Post Status setting here is also “Draft”!
    3. **Save **default settings
    4. Update to v2.39
    5. **Everything works as expected!**
 * > The default Post Type setting is the same between old and new plugins, though.
   > Did you see the post type issue on the other sites you tested on well?
 * Yes it looks like the issue was happening because the settings were not set in
   the database already. I’m not sure if there’s a way around that or if you even
   want to bother trying to fix it.
 * I imagine a lot of people probably would never adjust the default settings though
   and would likely come across this issue after updating too…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] Not creating same Post Type (v2.39)](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/#post-18297707)
 * Okay, tried on a completely vanilla version (WP 6.7.1, PHP 8.0) using InstaWP.
 * This time, I installed an old version first (v2.37 for reference). Then, after
   updating to the latest version, I came across the same issues as I mentioned.
 * You may not be coming across it if you install it from v2.39 directly – try starting
   with a pre-v2.38 version and updating it instead.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] Not creating same Post Type (v2.39)](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/#post-18297700)
 * Just tested it on another site, this time upgrading from v2.36
 * Same thing happened. Same steps to reproduce, even with Post Status getting set
   to Draft when I didn’t tell it to.
 * I’ll try on a completely vanilla version of WordPress and let you know. It’s 
   possible it’s my setup, but I can’t see how yet.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] Not creating same Post Type (v2.39)](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/not-creating-same-post-type-v2-39/#post-18297599)
 * I tried that (without changing any settings, because I didn’t want them changed)
   but that didn’t seem to make a difference.
 * Then, I tried:
    - Setting the Post Type setting to “Page”,
    - Saving
    - Setting the Post Type setting to “Same as original”,
    - Saving
    - (for some reason, now Post Status setting is set to “Draft”?)
    - Now “Duplicate Page to” says, “Duplicate {Post Type}”
    - Change Post Status setting back to “Same as Original”
    - Saving
 * It all appears to be working again now.
 * So, I guess mainly an issue with retaining the settings after the Settings page
   update?
    -  This reply was modified 1 year, 6 months ago by [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] PHP Fatal Error (v2.38)](https://wordpress.org/support/topic/php-fatal-error-v2-38/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-v2-38/#post-18297569)
 * I’ve done some more testing and, while that particular issue is definitely resolved,
   I’m coming across other issues now.
 * I’ll create a new support ticket though so you can keep tabs if that’s helpful.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Post Duplicator] PHP Fatal Error (v2.38)](https://wordpress.org/support/topic/php-fatal-error-v2-38/)
 *  Thread Starter [Nick Sinclair](https://wordpress.org/support/users/nicksinclair/)
 * (@nicksinclair)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/php-fatal-error-v2-38/#post-18297546)
 * Excellent, thanks for resolving the issue so quickly!
 * Big fan of this plugin, I use it across all of our sites.
 * Thanks for your efforts and responsiveness!

Viewing 10 replies - 1 through 10 (of 10 total)