How to disable automatic updates in WordPress

Posted in Tutorials

Tweet This Share on Facebook Bookmark on Delicious Digg this Submit to Reddit

Starting in WordPress 3.7, it is able to automatically update your wordpress without you doing anything.  Although it is only triggered when there is a minor update and if there is a visit to the site by any user.

However, some web masters may not want WordPress to auto-update.  They would rather manually update it themselves.

According to WordPress Codex, add …

define( 'AUTOMATIC_UPDATER_DISABLED', true );

and/or

define( 'WP_AUTO_UPDATE_CORE', false );

to the bottom of wp-config.php

If you want auto-updates for minor and major version, use …

define( 'WP_AUTO_UPDATE_CORE', true);

If you want auto-updates only for minor version, use …

define( 'WP_AUTO_UPDATE_CORE', 'minor');