wp core version, confirm the core files match what WordPress.org shipped with wp core verify-checksums, and work out why an update did not apply when the numbers do not line up.
Why auto-update enabled is not the same as patched
DISALLOW_FILE_MODS to lock down the dashboard. Someone deploys with Git and leaves the .git folder in the web root. A migration leaves files owned by root while PHP runs as the site user. A host disables WP-Cron in favor of a system cron that was never actually set up. None of these changes looks like it would turn off security updates, but each one does.
There is also a human side. Fear of updates breaking a site has pushed many people to turn auto-updates off on purpose, as this Reddit discussion on automatic WordPress updates shows. On sites that changed hands, nobody may remember that decision. In support, a common first question is whether this site got the update. The honest answer is that the setting does not tell you, and the files on disk do.
For background on how the race condition works and which release fixes it, see the CVE-2026-119977 breakdown. The steps below cover verification only.
Confirm what is actually installed
BASH
# Run from the WordPress root, as the site's own user (replace siteuser)
sudo -u siteuser wp core version --extra
sudo -u siteuser wp core check-update
sudo -u siteuser wp core verify-checksumswp core version reads the version number from wp-includes/version.php. Adding --extra also prints the database version, TinyMCE version, and package locale. Compare that number with the fixed release listed in the official WordPress security announcement for your branch. Older branches receive their own backported releases, so match the branch rather than only the latest major version.
wp core check-update asks WordPress.org whether a newer release exists for this install. If it lists a minor release on your branch, the background update has not happened yet.
The version number alone is not proof, because it comes from a single file. A partially completed update, or an attacker who edited core files, can leave version.php showing the right number while other files are still old or modified. wp core verify-checksums closes that gap. It downloads the official checksums for your version and locale and compares every core file against them. It also flags unexpected extra files inside wp-admin and wp-includes.
TEXT
Illustrative output format (wording varies by WP-CLI version)
Clean install:
Success: WordPress installation verifies against checksums.
Problem install:
Warning: File doesn't verify against checksum: wp-includes/class-wp-example.php
Warning: File should not exist: wp-includes/random-name.php
Error: WordPress installation doesn't verify against checksums.Find out why the background update did not run
| Likely cause | What to check |
|---|---|
| Updates disabled by constant | wp config get for AUTOMATIC_UPDATER_DISABLED, WP_AUTO_UPDATE_CORE, DISALLOW_FILE_MODS |
| Updates disabled by code | grep wp-content for automatic_updater_disabled and auto_update_core filters |
| PHP cannot write core files directly | file owner compared with the PHP process user; FS_METHOD in wp-config.php |
| WP-Cron never fires | DISABLE_WP_CRON set with no system cron, or a site with almost no visits |
| Update lock still held | core_updater.lock and auto_updater.lock options |
| Previous attempt failed | auto_core_update_failed option; a leftover .maintenance file in the root |
| Install looks like a VCS checkout | .git, .svn, .hg, or .bzr in the site root or a parent directory |
BASH
# Constants (an error just means the constant is not defined in wp-config.php)
sudo -u siteuser wp config get WP_AUTO_UPDATE_CORE
sudo -u siteuser wp config get AUTOMATIC_UPDATER_DISABLED
sudo -u siteuser wp config get DISALLOW_FILE_MODS
sudo -u siteuser wp config get DISABLE_WP_CRON
# Filters added by plugins, mu-plugins, or the theme
grep -rn 'automatic_updater_disabled\|auto_update_core' wp-content/
# Locks and recorded failures (an error means the option does not exist)
sudo -u siteuser wp option get core_updater.lock
sudo -u siteuser wp option get auto_updater.lock
sudo -u siteuser wp option get auto_core_update_failed
# Is the scheduler alive, and is a maintenance file stuck?
sudo -u siteuser wp cron event list --fields=hook,next_run_relative
ls -la .maintenance
# Who owns core files compared with who runs PHP
stat -c '%U:%G %n' wp-includes/version.php wp-admin/index.phpwp_options table that holds a timestamp. The core update lock normally expires after a short period. If an update crashed midway, a lock that keeps reappearing or a .maintenance file that never went away is a strong hint. The auto_core_update_failed option is worth reading too. When it exists, it records which version failed and why. After some failures, WordPress will not retry the same version automatically.
File ownership is the cause people miss most often. Background updates only proceed when WordPress can write to its own files as the PHP user. If core files belong to root or a different account, WordPress falls back to asking for FTP credentials. No one is there to type them during a cron run, so the update never happens. The Site Health screen under Tools has a background updates test that reports this and several other blockers in plain language. It is a good first check for someone without shell access.
The VCS check catches deployments built from Git. WordPress assumes a site under version control is updated through that workflow, so it skips the background update. That is a sensible default, but only if your deploy pipeline actually ships core security releases.
Applying the update and confirming it stuck
.maintenance file. Then, still as the site user, run wp core update. Add --minor if you want to stay on the current branch. After that, run wp core update-db if WP-CLI reports that the database needs it.
Then repeat the first check. Run wp core version to confirm the new number and wp core verify-checksums to confirm the files match. If the cause was the scheduler or permissions, watch the next minor release and confirm it arrives by itself. That is the only real proof that background updates work again.
Patching closes the hole, but it does not undo anything that happened while the hole was open. Because this race condition was exploited in the wild, a site that sat unpatched should also be checked for leftover access. That includes unexpected admin accounts, files that should not exist, and anything odd in the upgrade directory. The wp-content/upgrade exploitation check walks through that part.
A practical rule: whenever a WordPress Core security release matters, verify it on every site you are responsible for with wp core version and wp core verify-checksums. When the result is wrong, look for the blocker before you update. An auto-update setting is a request, and only these checks show whether the update actually happened.