Skip to content

Instantly share code, notes, and snippets.

@traeblain
Created July 20, 2011 04:26
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save traeblain/1094336 to your computer and use it in GitHub Desktop.
Save traeblain/1094336 to your computer and use it in GitHub Desktop.
Remove WPMU's Horribly Useless Notification Plugin Nag
<?php
/*
Plugin Name: Remove WPMU Notification Plugin Nag
Plugin URI: http://wp.me/p1Aj2B-6g
Description: WPMU started trying to force people that use plugins by their developers to install a Notification plugin by making a persistent notification bug the admins. This removes that annoying piece.
Version: 1.2
Author: Trae Blain
Author URI: http://traeblain.com
License: GPL2
*/
if ( function_exists( 'wdp_un_check' ) ) {
remove_action( 'admin_notices', 'wdp_un_check', 5 );
remove_action( 'network_admin_notices', 'wdp_un_check', 5 );
}
class WPMUDEV_Update_Notifications {};
class WPMUDEV_Dashboard_Notice {};
?>
@paulhastings0
Copy link

Thanks for making this simple plugin. It's precisely what I was looking for. WPMU Dev's nag method is horribly frustrating. :P

@johnnyriss
Copy link

Much needed. Much thx!

@agenciadroopi
Copy link

thank you very much

@klyde
Copy link

klyde commented Jan 26, 2013

shit yes. Love it

@Pross
Copy link

Pross commented Feb 2, 2013

Thank you

@TheWildMonk
Copy link

A great plugin indeed, but there is a problem. With this awesome plugin installed, I could not install the CUSTOMPRESS plugin of WPMUDEV. So if there is any update coming soon to this plugin, please be sure to handle this bug.
Again, thank you so much for your fabulous creation.

@TheWildMonk
Copy link

By the way, the error is saying this -
Cannot redeclare class WPMUDEV_Dashboard_Notice in /public_html/wp-content/plugins/tmb-wpmu-nag-remove/tmb-wpmu-nag-remove.php on line 18

@quicksheep
Copy link

Hey shuvonasir, I received the same error message but found a workaround. I deleted the offending class declaration from the file and it worked. Plugin activated fine and the notification disappeared.

@s3w47m88
Copy link

Thank you. I found your article, with the picture of you telling with your fist and I had literally done that seconds before I decided to Google this. WTF WPMU I hate you (WPMU).

@isarmstrong
Copy link

Hay Gais! How can I reduce my client's site security so that I'm not inconvenienced by having to install a dashboard that is only visible to my account and not theirs anyway?

... really?

@themightymo
Copy link

Any plan to submit this to the wordpress.org plugin repository?

@phillipwilhelm
Copy link

I had an issue on my WPMU network with this. I used another plugin along with your code and worked flawlessly. Thought I'd share-----

if ( function_exists( 'wdp_un_check' ) ) {
remove_action( 'admin_notices', 'wdp_un_check', 5 );
remove_action( 'network_admin_notices', 'wdp_un_check', 5 );
}
class WPMUDEV_Update_Notifications {
public function __construct()
{
}
}
?>

@jonathanstanley
Copy link

I wanted to suggest killing this plugin. You're just enabling WPMU's coercive, arrogant, unscrupulous and unacceptable practice.

@TeaMike
Copy link

TeaMike commented Sep 13, 2013

Hey guys.. just wanted to point you to the (stripped-down, working in WP 3.6.1) plugin for this function:
http://wordpress.org/plugins/wpmu-no-nag/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment