Enable/Disable WordPress Automatic Core, Plugins and Themes Updates

Back in 2013, the WordPress 3.7 introduces the automatic update feature. There are 4 types of updates and that includes, the WP core, plugins, themes and languages.

Although updates are a good thing to do, from a security point of view, there are some aspects that you will want to take into consideration when doing an update.

So you may want to choose the time of the update, you may want to choose what to update and most of all you would like to take a full backup, just in case things don’t go out well, specially when updating themes.

So if you want to have it all controlled and take decisions after you first test everything, you can completely disable all automatic updates by adding this line to your wp-config.php .

Disable WordPress Auto Updates:

WordPress sees two types of updates: minor and major. Major updates add additional functionality to the WordPress platform. This can be easily identified as WordPress 3.9, 4.0, 4.1  etc.

Minor updates are the updates of a major version of WordPress that was released to correct security holes and correct bugs. Their version number increases by 0.01. For example 4.2.1, 4.2.2, 4.2.3  etc.

By default, WordPress is configured to apply all minor updates automatically as soon as they are released.

Enable Core Updates for Minor Releases (default):

If you want to disable core updates, you can do that by using the following line of code in your config file.

Disable All Core Updates

YOu can also install automatically all minor and major updates of WordPress by adding the following code to wp-config.php.

Enable All Core Updates, Including Minor and Major:

There are also other ways to achieves this. For example you can use filters in your themes function or in your plugin files.

Use filters to change updates status

Here is a simple way to control all WordPress core automatic update

 

And you can also control automatic updates of themes and plugins by using this filters:

 

And finally here is how you can disable the automatic update of the translation files

Hope this helps you in your projects, it certainly helped me

Leave a Reply

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