Disable WordPress Automatic Updates

Posted on 17/12/2013 by Neil Skoglund

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.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© Copyright 2019 FreshSites Limited. Registered in England and Wales no. 7812509
Website Design by Pyxal
Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites Disable WordPress Automatic Updates | FreshSites