Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Hide the WordPress Upgrade Message in the Dashboard

Last updated on by
Follow WPBeginner on YouTube
How to Hide the WordPress Upgrade Message in the Dashboard

There was a huge debate on Digging into WordPress blog whether developers should let their client’s upgrade or not. We believe to educate our clients and encourage them to be self-sufficient therefore we have created an infographic that shows you a step by step guide to upgrade WordPress. For Backing up WordPress, we recommend using BackupBuddy Plugin to our clients. But we do have clients that do not want to deal with maintenance updates, so they want us to take care of them therefore we also have that option available. For these clients, we hide the WordPress Upgrade Message.

All you have to do is simply open the theme’s functions.php file and add this:

add_action('admin_menu','wphidenag');
function wphidenag() {
remove_action( 'admin_notices', 'update_nag', 3 );
}

There are plugins available that does this job, but we prefer to use the code above. Now remember, this only removes the upgrade bar that shows on all screens. It does not disable the Plugin updates or theme update notifications that shows up on the update page. For our clients that have us do the maintenance for them, we make sure that their site is up to date with all plugins, and the core.

Now Jeff Star posed an issue that he has to go in client’s dashboard to see whether plugins and such are activated. Well we already have a fix for that. We are using WP Status Dashboard (Our Tutorial on How to use WP Status Dashboard). This plugin/script lets us view all of our clients information on one screen, so we know exactly what needs to be upgraded on which client.

Remember, keeping your WordPress up to date is essential for site security. So if you do remove the nag, you need to stay on top of the upgrades for your clients.

Will you be doing this for your client’s site?? Do you have a better solution?


Editorial Staff at WPBeginner is a team of WordPress lovers led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »
  • Faysal Shahi

    Simple but Awesome, Thanks

  • Marius

    thank you very much mate! I’m so relaxed now. :-) pheuh !

  • jb

    This hides the upgrade license message/ button. this is found in the common.php line 3587. Remove rg_gforms_message

    public static function get_remote_message(){

    return stripslashes(get_option(“rg_gforms_message”));

    }

    • http://www.wpbeginner.com/ WPBeginner Support

      We strongly recommend users not to edit WordPress core files under any circumstances.

  • Sergiro

    love ya!

  • Luca Di Lenardo

    Work good! (wp 3.5.2) Thank you!

  • gregdavispsu

    I tried this on a client site and it worked great except for the WP Status Dashboard shows an error after the code is activated. The nag message is removed as described above, but it seems WP Status Dashboard isn’t happy now.

    I put the code into a site-specific plugin rather than the theme’s functions.php file. Would that make a difference?

  • wpbeginner
  • Renji

    How can I hide the plugin update count seen in the dashboard menu?

  • http://yorkwebservices.com Melinda

    I will definitely be using this for my clients, I offer full service maintenance and don’t want my clients to be confused by the nag. Of course, if I had a client that was pretty web savvy and wanted to do their own maintenance, I wouldn’t remove the nag.

  • http://oer-yonder.co.uk Blogmum

    I only got two clients so far and told them to just ignore any update messages. They leave most things to me anyway. But it is good if there is a possibility to hide it before clients start messing about with things not having a clue what they are doing. Mind you, most of the time I haven’t got a clue of what I’m doing either. :-)

  • http://easypublicspeaking.co.uk/ Keith Davis

    I was wondering why you would want to hide the message but hiding it for clients makes sense.

    Might come in useful in the future.
    Appreciate the info.