Disable automatic updates in WordPress 3.7
As we have already mentioned in previous articles, one of the great innovations of WordPress 3.7 is automatic background updates. In this article we will talk about how to disable automatic updates in WordPress 3.7 .
How do automatic updates work in WordPress 3.7?
In principle, the background update system does not require the intervention of the administrator or webmaster. It is only implemented for minor updates, for example to upgrade from version 3.7 to version 3.7.1, but never to go from a version 3.7 to 3.8 for example.
This automatic update system only affects the core of WordPress, does not update plugins or themes automatically.
How to disable automatic updates in WordPress 3.7?
The process is very simple, you just have to edit the
wp-config.php file and add the line:
define( 'AUTOMATIC_UPDATER_DISABLED', true );
You can add this line to the end of the file or wherever you want, it should not influence the position. I always reserve a hole at the end where I introduce all my default configuration modifications, so I keep the order a bit.
Once we do this, automatic updates will be completely deactivated and the intervention of the webmaster or administrator will be necessary to update.
Advantages and disadvantages of disabling automatic updates in WordPress 3.7
Automatic updates, in my opinion are a double-edged sword, that is, on the one hand they are something positive for our blog but in certain situations it can ruin our project. In addition, the possibility of automatic updates is something that is linked to the configuration of our hosting and in some cases it will give problems.
- Keeps our blog safe against the attack of hackers against new vulnerabilities.
- Being automatic updates are performed unattended , which does not need administrator intervention. This updates our blog immediately, at the moment the update is available.
- Solution of possible bugs (of which we do not notice) in a transparent way.
- Updates can cause compatibility issues with themes and plugins , leaving our blog inactive or malfunctioning.
- Loss of functionality of the blog . This can happen and in fact it has already happened updating me from the WordPress admin panel. In my case, what happened was that the server did not offer enough memory resources to perform the update and returned an error leaving my WordPress inactive in maintenance mode. This can happen with automatic updates perfectly and leave our blog inaccessible.
- Loss of modifications in the core . If we are one of those who edit a WordPress core file, the updates to replace the core files will make us lose our modifications.
Analyzing the advantages and disadvantages, each one can draw their own conclusions and decide whether or not automatic updates suit them. In my case for fear of incompatibilities with themes and plugins or introduction of bugs in new versions I will not activate them . Today I am quite cautious and I like to update after a while after the new version comes out.