Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

paulhastings0 commented Nov 7, 2011

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

@johnnyriss

This comment has been minimized.

Copy link

johnnyriss commented Jun 8, 2012

Much needed. Much thx!

@agenciadroopi

This comment has been minimized.

Copy link

agenciadroopi commented Nov 12, 2012

thank you very much

@klyde

This comment has been minimized.

Copy link

klyde commented Jan 26, 2013

shit yes. Love it

@Pross

This comment has been minimized.

Copy link

Pross commented Feb 2, 2013

Thank you

@TheWildMonk

This comment has been minimized.

Copy link

TheWildMonk commented May 14, 2013

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

This comment has been minimized.

Copy link

TheWildMonk commented May 14, 2013

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

This comment has been minimized.

Copy link

quicksheep commented May 22, 2013

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

This comment has been minimized.

Copy link

s3w47m88 commented May 22, 2013

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

This comment has been minimized.

Copy link

isarmstrong commented May 27, 2013

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

This comment has been minimized.

Copy link

themightymo commented Jun 24, 2013

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

@phillipwilhelm

This comment has been minimized.

Copy link

phillipwilhelm commented Aug 9, 2013

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

This comment has been minimized.

Copy link

jonathanstanley commented Aug 13, 2013

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

@TeaMike

This comment has been minimized.

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
You can’t perform that action at this time.