New WordPress Plugin – Hide Update Reminder

Since version 2.5 of WordPress, we’ve had that very useful banner across the top of our admin screens reminding us that a new version of WordPress is available and to upgrade. It’s a really great feature, but the ability to not display it to non Administrators has been something I’ve been wanting since 2.5 came out.

We run quite a few client sites on WordPress, and let’s face it, sometimes you don’t want to upgrade immediately, perhaps other work needs doing to the site theme before you want to upgrade everything, or you have another reason (client’s paying up is usually a major one!). If you’re like me then you’d rather your client’s didn’t see this notice about upgrading. Some can start contacting you asking why it needs upgrading and if the site is safe to use, others request the update there and then.

Why the notice is shown to non Admins I’m not sure. However, after a quick check and a few lines of code, I’ve now released a plugin to just hide this message from anyone who isn’t a level 10 (i.e. Administrators). Once I’ve got time I’ll probably add an options page to allow people to hide it altogether, or to perhaps allow Editors and Admins to see the message, but not Subscribers through to Authors.

You can view the official plugin page or just download it from WordPress.

You may also like...

8 Responses

  1. Will says:

    Just what I’ve been looking for! I’ve got a client site that needs this now.

    I’ve had a go at making a plugin and failed. Any pointers or how about a tutorial to create a simple one?

  2. Sarah says:

    Hi Will. This plugin is pretty easy to read. In a few steps

    1. Create your file, add into the top header the plugin details
    2. If you want it to run when triggered by a certain event (eg. this one is triggered when the admin page first starts to load) then use a filter or hook (check the Codex).
    3. Write your function or functions
    4. See if it works! 😀

    On my first plugin I got it working without the WordPress coding, then I added in the ‘bits’ to make it a plugin. Then I ventured into the options page by just ripping apart another plugin.

    Feel free to pull mine apart and see what’s going on and shoot me an email if you have any questions 🙂

  3. Jacob says:

    Very nice I have always been thinking about how to remove that upgrade now stuff from the top. Thanks

  4. maja says:

    If you would like to hide the notification bar from admins too, you can change number 10 to 11 in hide-update-reminder.php

    • Sarah says:

      To be honest I wouldn’t hide it from the Admin as the upgrade notice does serve a purpose and most admins will have the ability to upgrade the site. This plugin isn’t designed to make you forget to upgrade the site, just to hide the notice from others, who are usually not admins. However, I’m working on an admin page to allow you to configure which level or which users see the notice and which don’t.

  5. Matt says:

    I added “#update-plugins” to the css declaration so that WordPress doesn’t show that there are plugins to be updated either.