Divi: the easiest WordPress theme to use
Divi: The best WordPress theme of all time!
With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]
WordPress has recently been released in its 3.9 release. There have been a few big improvements, but automatic updates are definitely one of the most popular features. documents Of this version. WordPress can now update automatically when there is a new minor update.
If you really like the idea of automatic updates, you can enable it for major versions as well.
In this tutorial, we will show you how to enable automatic updates on WordPress for major updates. Automatic updates on version 3.9 only work when there is a minor update or a fix for a security vulnerability (Since the 3.7 version).
For example, a WordPress blog using the 3.9 version is will automatically updated for version 3.9.1 without any user intervention, but it will not be updated to version 4.0 or 4.1 (Major version).
Easily create your website with Elementor
Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]
For users who use many Blogs WordPress, updating them all can take a while.
How to automate updates for major releases
Basically, automatic updates for all versions of WordPress are not automatic because in general, a major version comes with significant changes. This means that sometimes your blog may not be ready for an update, especially if it has more than one plugins different.
But if you are sure of your web host WordPress, then you can enable automatic updates for major versions as well. For that, il just add this line of code or modify it in the file « wp-config.php » of your blog, located at the root of your WordPress installation.
Define ('WP_AUTO_UPDATE_CORE', true);
There is a problem with this code. It allows major updates of any kind (development or evaluation). To disable development updates, you must add this code in a Plugin specific to the blog or file « functions.php » of your theme (Available in the directory "wp-content / themes / [name of your theme active] / function.php »From the root of the installation).
This filter will disable major updates for development.
After making these changes, your blog will automatically update itself for major updates. Of course, you should always consider making a backup of your blog because you never know.
So much for this tutorial devoted to automating updates to your WordPress site. Feel free to share this article or suggest other solutions you know.