Wordpress

How to Enable Automatic Background Updates for WordPress Core

On WordPress 3.7+ you can help remove the stress of outdated WordPress sites that are susceptible to hacking. To do this just simply enable Automatic Background Updates.

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 resulting in a blank white page. It is very important that you have backups enabled, and that you monitor your site for problems closely. Webair can backup your server regularly or you can install a WordPress plugin to do your own backups.

 

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 .

Related Articles

  • Enabling WP_DEBUG

      Enabling the WP_DEBUG function will notify you that something isn’t functioning correctly. Steps on how to enable WP_DEBUG are below: First: Go into your directory that contains WordPress: $ cd /usr/www/virtual/sample/www.sample.com/ Second: Now that...
  • WordPress Now In Cloud Apps

      WordPress is a free and open-source blogging tool and a content management system (CMS) based on PHP and MySQL.  Features include a open source plugins and a template system....
  • WordPress security tips

      WordPress is one of the most used application to post content on the internet.  WordPress is an open source platform where people have been using it free of charge,...
  • WordPress Security Tips

    Introduction While WordPress is a great tool to use to manage and update your website, it’s also a frequent target for hackers or other users with malicious intent- this makes...