How to Completely Disable Automatic Background Updates for WordPress

The following process works with all WordPress versions after version 3.7. Alas, turning off Automatic Background Updates is strongly discouraged.

Again, turning off Automatic Background Updates is STRONGLY DISCOURAGED. Doing so means that WordPress will not automatically update whenever a new minor release or updated translation files are available. Perhaps try adding automatic updating for WordPress Core instead.

 
Disabling Automatic Background Updates via wp-config.php


Once more, this is STRONGLY DISCOURAGED. We’d much rather have you enable automatic background updates for major releases of WordPress core!


Per WordPress:

The core developers made a conscious decision to enable automatic updates for minor releases and translation files out of the box. Going forward, this will be one of the best ways to guarantee your site stays up to date and secure and, as such, disabling these updates is strongly discouraged.


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:

/* Disable Automatic Background Updates for WordPress */
define( ‘AUTOMATIC_UPDATER_DISABLED’, 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 .

  • 68 Users Found This Useful
Was this answer helpful?

Related Articles

How to List Compiled PHP Modules from Command Line

Pre-Flight Check These instructions are intended specifically for listing compiled PHP modules...

How to Install or Uninstall PECL Extensions

Pre-Flight Check These instructions are intended specifically for installing or uninstalling...

How to Install the MongoDB PHP Driver (Extension) on CentOS 6

Step 1: Setup Environment, Install PHP Extension & Application Repository (PEAR) As a matter...

How to Add a User and Grant Root Privileges on CentOS 6.5

Step 1: Add the User It’s just one simple command to add a user. In this case, we’re...

How to Add a User and Grant Root Privileges on Ubuntu 14.04

Step 1: Add the User It’s just one simple command to add a user. In this case, we’re...

Powered by WHMCompleteSolution