Hide the upgrade nag

More and more these days clients are requesting WordPress as a Content Management System (WordPress as a CMS).

The last thing you want is clients clicking the update/upgrade notice that appears at the top of the admin screen and breaking the security functions that you might have built-in (at a minimum).

What is out of sight is out of mind so here is one way of hiding it.

** BACK-UP ALL FILES BEFORE PROCEEDING **

Open:

wp-admin/includes/update.php

Find (around line 139):

add_action( ‘admin_notices’, ‘update_nag’, 3 );

Comment out the line:

// add_action( ‘admin_notices’, ‘update_nag’, 3 );

Re-upload the file

Any problems simply re-upload the original file.

Leave a comment

You must be logged in to post a comment.