Cannot change the definition of AUTOMATIC_UPDATER_DISABLED

by Manuel   Last Updated July 13, 2017 16:08 PM

I have several WordPress sites that I want to enable auto update. I installed Background Update Tester to verify that the updates were enabled correctly, but I get the following message:

FAIL: The AUTOMATIC_UPDATER_DISABLED constant is defined as true.

It was defined as true in wp-config.php, but after I removed the line, it's still saying that the constant is true. I also tried to define the constant as false to no avail.

I also tried to add this filter inside a plugin:

add_filter('automatic_updater_disabled', '__return_false');

But Wordpress still thinks the constant is true.

I ran a case insensitive grep for "AUTOMATIC_UPDATER_DISABLED" on my entire Wordpress directory with no results (except for class-wp-automatic-updater.php, which seems to check the definition).

What could be the problem?

Related Questions

IP addresses to block to stop WP auto-update?

Updated April 27, 2017 17:08 PM

Wordpress Auto Updates

Updated August 24, 2015 17:03 PM


Updated January 05, 2018 11:08 AM

DISALLOW_FILE_EDIT constant being ignored

Updated June 30, 2017 14:08 PM