Disable WordPress Automatic Updates

As of WordPress version 3.7, WordPress can (and will!) automatically keep itself up-to-date when new minor releases are made available, for example, 3.7 will update to 3.7.1 without any input from you! By default, automatic updates will only run for minor releases, not major releases, e.g. WordPress 3.7.1 will NOT automatically update to WordPress 3.8.

Great, why would I want to disable it then?

Some people (no matter how much we recommend they don’t) modify the core WordPress files – an update may overwrite these changes and short of restoring a backup, either from a local copy, or from our offsite disaster recovery servers, the changes would be lost for good.

Ok, this might apply to me.. how do I do it?

Like most things WordPress related, there is a simple method to disable these updates, and whilst it’s good practice to keep your WordPress up-to-date, you can do the following to disable auto-updates:

Insert the folowing code into your wp-config.php file:
define( 'WP_AUTO_UPDATE_CORE', false );

Automatic updates will no longer run, you will be notified when an update is available. If you wish to re-enable them, simply remove the line again.



« | »