Disable updraft plus multisite notice

Updraft plus is an awesome plugin. Very useful for backing up one’s site. However the author of this free plugin has chosen to display a huge ugly red banner warning an administrator that a premium is better suited for a mu installation of WordPress. He has not provided a way to disable it via options. So if this bothers you, patch your file:

--- up2/updraftplus/options.php 2013-02-14 20:39:08.000000000 +0400
+++ /root/domains/joel.co.in/droidzone.in/htdocs/wp-content/plugins/updraftplus/options.php     2013-02-16 10:58:01.610660848 +0400
@@ -67,7 +67,7 @@ class UpdraftPlus_Options {
                register_setting('updraft-options-group', 'updraft_include_others_exclude' );

                if (is_multisite()) {
-                       add_action('admin_notices', array('UpdraftPlus_Options', 'show_admin_warning_multisite') );
+                       //add_action('admin_notices', array('UpdraftPlus_Options', 'show_admin_warning_multisite') );
                }

        }

Disclaimer: I encourage you to buy Updraft plus to encourage the author’s efforts. The code is well within the realm of GPLv3 and you’re free to make any modifications you want, and distribute it, however.


You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.