How to Enable Automatic Background Updates for WordPress Core

The following process works with all WordPress versions after version 3.7. There are several other options for enabling automatic background updates for WordPress including but not limited to: utilizing Jetpack with WordPress.com and utilizing WordPress plugins.


Turning on Automatic Background Updates causes WordPress to update whenever a new major or minor release is available. In some cases, a major or minor release may not work correctly with an installed plugin, which could cause your site to render improperly, or fail completely. It is very important that you have backups enabled, and that you monitor your site for problems closely.

Enable Automatic Background Updates via wp-config.php


Navigate to your root WordPress directory (in this case: /home/example/public_html) and edit the wp-config.php file:

vim wp-config.php


or

vim /home/example/public_html/wp-config.php


Add the following to the file:

/* Enable Automatic Background Updates for WordPress Core */
define( ‘WP_AUTO_UPDATE_CORE’, true );


In this case, I added the above code just above:

/* That’s all, stop editing! Happy blogging. */


Then exit and save the file with the command :wq .

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To Install Apache Tomcat 8 on Ubuntu 14.04

Apache Tomcat is an open source web server used to deploy and serve JavaServer Pages (JSP) and...

Error: 500 OOPS: priv_sock_get_cmd [SOLVED]

The Fix This error may occur when attempting to connect to a vsftpd FTP server. You simply need...

How to Check Your CentOS Version

The following command works with all CentOS versions. cat /etc/centos-release You should...

How to List Which Apache 2 Modules are Enabled on Fedora 21

The Apache web server is one of the most popular and powerful web servers in the world due to its...

How to Install Logwatch on CentOS 6

Logwatch is a Perl-based log management tool for analyzing, summarizing, and reporting on a...

Powered by WHMCompleteSolution