Did you know that WordPress can automatically update your website? In some cases, that can include plugins and themes too.
Despite the security benefits, there is a slight chance that these background updates can break your website.
In this article, we will show you how to disable automatic updates in WordPress, so you can manually update on your own.
Why WordPress Updates Automatically
WordPress automatically updates the core WordPress software for security reasons.
Sometimes, it may also update a plugin or theme to fix a potential threat. For instance, a WordPress plugin or theme might be updated to remove a critical vulnerability. If that plugin or theme is used by a lot of websites, WordPress core team may push out an automatic update for that.
Apart from those situations, WordPress lets you decide when you want to install updates.
We donβt recommend turning off automatic WordPress updates. Theyβre an important security feature.
However, in some rare situations, updates can break your website or affect its functionality. This could lead to you losing business and customers.
If youβre confident that you can manage manual updates yourself, then you can safely disable automatic updates in WordPress.
Configuring and Disabling Automatic WordPress Updates
The easiest way to do this is by installing and activating the Easy Updates Manager plugin. If youβre not sure how to do that, take a look at our step by step guide on how to install a WordPress plugin.
Once the plugin is activated, go to Dashboard Β» Updates Options to configure your settings.
You can choose to βDisable all updatesβ, but we donβt recommend this option. Primarily because itβll prevent all update notifications from appearing.
Instead, you should pick the settings you want. You could disable plugin and theme auto-updates, but leave the standard core WordPress auto-updates enabled.
Note: If you choose βDisable plugin updatesβ and βDisable theme updatesβ instead of βDisable auto updatesβ, then you wonβt even see the update notifications in your plugins and themes lists.
Easy Updates Manager keeps a log of whatβs updated, so if anything does break on your site, you can rollback to a previous working version. To view this, go to Dashboard Β» Updates Options and then click the βLogsβ tab.
Thereβs also a premium version of Easy Updates Manager, which offers a lot of extra options. For instance, it integrates with UpdraftPlus so that you can automatically run a backup of your site before updates are applied.
Disabling Automatic WordPress Updates Without Using a Plugin
What if you donβt want to use a plugin? 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.
Important: Make sure you read our article on how to safely edit the wp-config.php file in WordPress with step by step instructions.
If you want to receive minor core updates, but disable theme and plugin updates, 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' ); |
Pros and Cons of Automatic WordPress Updates
Now you know how to disable automatic updates, but should you disable them? Thereβs no right answer and this depends on you and your website.
On our sites, weβve disabled automatic plugin and theme updates while keeping the minor core updates enabled.
Letβs take a look at the advantages and disadvantages of automatic updates. That way, you can decide whether to disable auto-updates on your site.
Advantages of Automatic Updates in WordPress
Automatic updates are great for WordPress security. Many users forget to update their plugins or their core WordPress installation.
With automatic WordPress updates enabled, you donβt have to worry about updating your site whenever a minor update to WordPress is released. These are pushed out for maintenance and security purposes.
In the past, automatic updates were something you only got by paying for managed WordPress hosting. Now, theyβre available for everyone (at least for minor releases).
You also know that if thereβs a crucial security issue with WordPress or a popular plugin, then WordPress will automatically update. Even if youβre busy or away from home, your site will stay secure.
If you have a lot of sites, then automatic updates can save you quite a bit of time. And even if you only have one site, you might prefer the peace of mind of knowing that WordPress is taking care of things.
Disadvantages of Automatic Updates in WordPress
The core WordPress team responsible for releasing updates, makes sure that it goes without a hiccup.
However, there is a slight chance that automatic updates can break your site. In our experience, the minor releases havenβt broken any of our sites yet.
Thatβs because we are following the best practices and not modifying any core files. If you modify WordPress core files, then these automatic updates can override them.
If WordPress ever felt it necessary to push out a security update for a theme you are using, there is a chance that it will break your website. This particularly applies if you have modified your theme files.
Automatic plugin updates can potentially break your site as well. There are just too many variables, such as different server environments and plugin combinations.
Now itβs important to know that these updates will not break the vast majority of websites. Even so, you may feel you donβt want to take the risk.
Another drawback is that you wonβt always automatically get a notification when your site is updated.
Should I Disable Automatic WordPress Updates?
Basically, it is up to you to make this decision.
For most beginners and vast majority of WordPress websites, automatic updates are harmless, and you should not disable them.
However, if you run an online store or donβt want to lose business due to a broken site, then you can safely turn off automatic updates.
Still, make sure that you manually install those updates in a timely manner to ensure your websiteβs security.
We hope this article helped you learn how to disable automatic updates in WordPress.
Whether youβre using automatic or manual updates, itβs crucial to make sure you have regular backups of your site. Take a look at our comparison of the best WordPress backup plugins and our guide on how to restore your WordPress site from a backup.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.