Disable Automatic Updates in WordPress Easily

Did you know that WordPress can automatically update your website? Yes that include plugins and themes too. Despite the security benefits, there is a slight chance that it can break your website. In this article, we will show you how to disable automatic background updates in WordPress.

Note: This post was originally published on Oct 25, 2013, but we have updated it to add more insights and make it more comprehensive.

Background auto updates were introduced in WordPress 3.7 in an effort to promote better security. By default it is limited to only minor releases however in special cases WordPress may update your plugins and themes.

If you are one of the millions of websites that are using Yoast WordPress SEO plugin, then your site was automatically updated about a week ago without any notification!

Automatic updates are great for WordPress security because many users never update their plugins or their WordPress installs. However it can break your site which we will highlight below.




First let’s take a look at how to disable WordPress auto updates.

Configuring and Disabling Automatic WordPress Updates

The easiest way to do this is by installing and activating Disable Updates Manager plugin.

Go to Settings » Disable Updates Manager to configure your settings.

Alternatively, you can disable automatic updates in WordPress by adding this line of code in your wp-config.php file:

1
define( 'WP_AUTO_UPDATE_CORE', false );

This will disable all automatic WordPress updates.

However if you want to receive minor core updates, but disable theme and plugin updates, then you can do so by adding the following filters in your theme’s functions.php file or in a site-specific plugin.

Disable automatic WordPress plugin updates:




1
add_filter( 'auto_update_plugin', '__return_false' );

Disable automatic WordPress theme updates:

1
add_filter( 'auto_update_theme', '__return_false' );

Leave a Comment

avatar