How to Disable Automatic Background Updates In WordPress

Reading Time: < 1 minute

The following process works with all WordPress versions after version 3.7. Also, 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: Enabling Automatic Background Updates for WordPressCore

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.

For a refresher on editing files with vim see: New User Tutorial: Overview of the Vim Text Editor

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 .

But really, are you sure you wouldn’t rather enable automatic background updates for major releases of WordPress core?

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

What is Bare Metal Programming?

Read Article

Useful Features in cPanel for Your Sites

Read Article

How to Clone a Drupal Site to Another Domain

Read Article

Accessing Man Pages on Ubuntu 16.04 LTS

Read Article

What is VMware Fusion?

Read Article