Useful Snippets

Welcome!


This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!

RSS Latest posts from my personal blog


Most viewed posts


Subscribe to RSS feed


Remove “Install WPMU DEV Dashboard” nag screen

Stanislav KhromovStanislav Khromov

Screen Shot 2015-10-30 at 16.07.46

If you don’t want to use the WPMU DEV dashboard plugin, you have to tolerate their nag screen. This nag screen, present in most WPMU DEV plugins will also make intermittent external calls to check for updates.

To get rid of it once and for all, create a file called no-wpmudev-nag.php in /wp-content/mu-plugins (Create the folder if it does not exist.)

Then, paste the following code into the file:

<?php
/**
 * Plugin Name: Disable WPMU DEV Nag
 * Description: Disables WPMU DEV nagging
 * Version: 1.0
 * Author: khromov
 */

if ( !class_exists('WPMUDEV_Dashboard_Notice3') ) {
  /**
   * Dummy class
   *
   * Class WPMUDEV_Dashboard_Notice3
   */
  class WPMUDEV_Dashboard_Notice3 {
    public function __call($name, $arguments) { return null; }
    public static function __callStatic($name, $arguments) { return null; }
  }
}

Enjoy your nag-free experience!

PHP

Web Developer at Aftonbladet (Schibsted Media Group)
Any opinions on this blog are my own and do not reflect the views of my employer.
LinkedIn
Twitter
WordPress.org Profile
Visit my other blog

Comments 8
  • Piotrek
    Posted on

    Piotrek Piotrek

    Reply Author

    Ow thanks a lot Stanislav! At last i’m free of WPMU. Small and effective snippet.

    Best regards
    Peter


  • Jota
    Posted on

    Jota Jota

    Reply Author

    What’s the way to just remove it all from site ?

    Thanks mate !


    • Stanislav Khromov
      Posted on

      Stanislav Khromov Stanislav Khromov

      Reply Author

      You need to use the plugin in this blog post to remove the nag screen.


  • Jota
    Posted on

    Jota Jota

    Reply Author

    I think it’s quite easier than that. I saw this article just saying to remove a file, instead of adding more code to my WordPress. Looks like more clean and correct using that way:

    http://www.jordicals.com/2016/04/remove-wpmu-dev-wordpress-desktop/


    • Stanislav Khromov
      Posted on

      Stanislav Khromov Stanislav Khromov

      Reply Author

      That works until you update one of the plugins, then the nags return. The approach described in this thread is a permanent solution.


  • Jota
    Posted on

    Jota Jota

    Reply Author

    Understand …. but how to remove the origin of that nag installation ? I can’t believe this is forever ! I mean, where’s the origin of this issue ?


    • Stanislav Khromov
      Posted on

      Stanislav Khromov Stanislav Khromov

      Reply Author

      The permanent, guaranteed-to-work solution is to simply not use WPMUDev plugins. :-)


  • Jota
    Posted on

    Jota Jota

    Reply Author

    Haha ! okay thanks ,-)