Title: Multisite and upgrading Duplicate Post
Last modified: August 16, 2017

---

# Multisite and upgrading Duplicate Post

 *  Resolved [James](https://wordpress.org/support/users/harris1/)
 * (@harris1)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/multisite-and-upgrading-duplicate-post/)
 * Hello,
 * I have a problem after upgrading Duplicate Post:
 * 1. Install Duplicate Post 2.6 on a multi-site/network WordPress
    2. Visit dashboard
   of two blogs 3. See the “Copy to a new draft” feature copies the post content
   4. Upgrade Duplicate Post from 2.6 to 3.2 5. “Copy to a new draft” copies post
   content on first blog, but not the second blog.
 * I didn’t change any settings, but Looking at Settings > Duplicate Post, most 
   of the checkboxes are unchecked on the second site.
 * It looks like function duplicate_post_plugin_upgrade() only upgrades one blog.
   I was able to get the defaults to work with this patch:
 *     ```
       --- a/wp-content/plugins/duplicate-post/duplicate-post-admin.php	Wed Aug 16 08:47:38 2017 -0400
       +++ b/wp-content/plugins/duplicate-post/duplicate-post-admin.php	Wed Aug 16 09:51:06 2017 -0400
       @@ -12,7 +12,7 @@
         * Wrapper for the option 'duplicate_post_version'
        */
        function duplicate_post_get_installed_version() {
       -	return get_site_option( 'duplicate_post_version' );
       +	return get_option( 'duplicate_post_version' );
        }
   
        /**
       @@ -178,7 +178,7 @@
        	delete_option('dp_notice');
   
        	delete_option('duplicate_post_version');
       -	update_site_option( 'duplicate_post_version', duplicate_post_get_current_version() );
       +	update_option( 'duplicate_post_version', duplicate_post_get_current_version() );
   
        	delete_option('duplicate_post_show_notice', 0);
        	update_site_option('duplicate_post_show_notice', 1);
       ```
   

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

 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/multisite-and-upgrading-duplicate-post/#post-9416001)
 * Hi [@harris1](https://wordpress.org/support/users/harris1/),
    I’ll look into 
   the issue, I moved the option to network-wide level since it could lead to some
   other problems (and after all the version of the plugin is the same for all the
   sites of a network).
 * Thanks for reporting, I’ll let you know as soon as I have news!
 *  Plugin Author [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * (@lopo)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/multisite-and-upgrading-duplicate-post/#post-9721131)
 * Hi,
    version 3.2.1 out now should fix the issue.

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

The topic ‘Multisite and upgrading Duplicate Post’ is closed to new replies.

 * ![](https://ps.w.org/duplicate-post/assets/icon-256x256.png?rev=2336666)
 * [Yoast Duplicate Post](https://wordpress.org/plugins/duplicate-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicate-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicate-post/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicate-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicate-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicate-post/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Enrico Battocchi](https://wordpress.org/support/users/lopo/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/multisite-and-upgrading-duplicate-post/#post-9721131)
 * Status: resolved