Support » Plugin: Multisite Post Duplicator » updated plugin, subdomain warning on every page

  • Resolved Dan Butcher

    (@danbutcher)


    I have been using MPD successfully for quite some time with a multisite/subdomain configuration and never had any warnings or problems.

    I just updated the plugin to 0.9.4, and now a warning appears at the top of every page saying

    You have activated Multisite Post Duplicator on this WordPress Installation however this network has the subdomain configuration enabled. Unfortunately this plugin doesn’t support Subdomain configurations at this time. Please accept our apologies and check back as we hope to support it soon.

    The plugin appears to work without any problems even after the update.

    2 questions:

    1. how do I get rid of the warning?
    2. has anything significant changed in the basic functioning of the plugin that would present problems for me now since it worked for me before?
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author MagicStick

    (@magicstick)

    Thanks dan. I really appreciate your post. To answer your questions:

    1. To remove the error add the following temporary hacky fix to your functions.php file.

    function remove_annoying_subdomain_message(){
        ?>
        <script>
            jQuery(document).ready(function($) {
                target = jQuery("div.error p:contains('Subdomain configurations')").parent().hide();
            });
        </script>
    
        <?php
    }
    add_action('admin_footer', 'remove_annoying_subdomain_message');

    2. There have been no changes to the plugin core at all but I’ve had a few bug reports that turned out were because of subdomain installations. My thoughts on this were to add a notice to indicate subdomain issues. It’s interesting to me that you are not having issues! I know for a fact that the there would be issues with Images copying over in the post content? Have you experienced this? Perhaps in light of your comments I might pull back on the severity of my wording in the error message in a future release and will definitely add a button to dismiss the message. That was a slip up on my part. Sorry about that.

    • This reply was modified 3 years, 9 months ago by MagicStick.

    I just did a few duplications to make sure, and I can confirm that I can successfully duplicate posts with images as well as embedded video, audio, and other media files. In all the time I’ve been using the plugin, I have never had a post lose anything in the process. I have also been able to duplicate single posts and multiple posts.

    As far as I can tell, the plugin has worked perfectly for me, and I use it a couple of times a month.

    I appreciate the code to remove the warning.

    If you need more details about my site configuration for troubleshooting, let me know. I’m happy to assist. MPD has saved me a lot of time!

    Plugin Author MagicStick

    (@magicstick)

    Error message is now dismissible in latest updat. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘updated plugin, subdomain warning on every page’ is closed to new replies.