Skip to content Skip to sidebar Skip to footer

How to Disable Wordpress Auto Update

How to disable wordpress auto update for some people may still be a question but for those of you who already know, of course there is no problem. So this article is only for those of you who don't know how to disable wordpress auto update.

Did you know that WordPress can automatically update your website? Yes it includes plugins and themes too. Despite the security benefits, there is a small chance that it can crash your website especially for those using web hosting with small file storage sizes.

Automatic background updates were introduced in WordPress 3.7 in an effort to promote better security. By default it is limited to minor updates but in some special cases WordPress can update plugins and themes.

The case that just happened is regarding the Yoast SEO plugin. If you are one of the users of the millions of websites that use the Yoast SEO WordPress plugin, then your site was automatically updated about a month ago without any notification!

This automatic update is classified as a major update for WordPress security because many users never update their plugins or update their WordPress.

The easiest way to do this is to install and enable Disable All WordPress Updates or Easy Updates Manager

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

define ('WP_AUTO_UPDATE_CORE', false);

This will disable all automatic WordPress updates.

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

Disabling automatic plugin updates:

add_filter ('auto_update_plugin', '__return_false');

Disabling automatic WordPress theme updates:

add_filter ('auto_update_theme', '__return_false');

Now that you know how to disable automatic updates in WordPress, the question is why should you disable it? the answer is just to make sure that the installed plugins and themes can always be compatible with your WordPress version as well as WordPress so that it is always compatible with the specifications of the OS used by the server (web hosting).

Post a Comment for "How to Disable Wordpress Auto Update"