We’re locking down some of our WP sites and only applying updates via composer and wpackagist.

To disable admins from performing updates (and getting our code out of sync), we add these to our config:

define('DISALLOW_FILE_EDIT',   true);
define('DISALLOW_FILE_MODS',   true);
define('WP_AUTO_UPDATE_CORE',  false);

This works great … except that we no longer get the badges to show us that there are updates available.

Is there a way to have the sidebar show the update icons (like the image on the left instead of the right), and/or the /wp-admin/update-core.php to display what updates are available … but just not let admins perform the updates?

Read more here: Get WordPress to show updates available, but not let admin install them


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: