WP_AUTO_UPDATE_CORE ignored
-
Hi,
We have auto update for WordPress disabled with:
define( 'WP_AUTO_UPDATE_CORE', false );However this was completely ignored on the latest update with many sites that needed to be pinned to a specific version being updated and causing them to crash.
We’re also seeing this in error logs:
[22-May-2026 11:27:57 Europe/Dublin] PHP Fatal error: Uncaught Error: Call to undefined function add_filter() in /home/w596929/public_html/wp-config.php:92
Stack trace:
#0 /home/w596929/public_html/wp-load.php(50): require_once()
#1 /home/w596929/public_html/wp-blog-header.php(13): require_once('/home/w596929/p...')
#2 /home/w596929/public_html/index.php(17): require('/home/w596929/p...')
#3 {main}
thrown in /home/w596929/public_html/wp-config.php on line 92This is what triggered it:
/* Disable plugin auto-updates */
add_filter( 'auto_update_plugin', '__return_false' );So not sure what’s going on.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.