By default, WordPress auto-updates install minor core releases, and major core releases on sites installed since WordPress 5.6. Plugins and themes update themselves only when you switch that on, per plugin. If an automatic plugin update breaks your homepage, WordPress’s rollback restores the old version; it doesn’t check the rest of the site.
We let WordPress’s own updater install plugin updates on our test site, including two we broke on purpose. It rolled one back and kept the other, then emailed us that the second update had worked.
What WordPress auto-updates by default: core, plugins and themes
By default, WordPress auto-updates its own minor releases and, on newer installs, its major releases, but leaves plugins and themes alone. These are updates it downloads and installs by itself in the background. It checks for new versions every 12 hours through WP-Cron, its built-in scheduler, which runs when someone visits the site.
What it installs depends on the type of update:
- Minor releases: a minor release is a maintenance and security update to WordPress core, like 7.1.4 after 7.1.3. They’re on by default.
- Major releases: a major release is one that adds features, like 7.1 after 7.0. They’re on by default for sites installed with WordPress 5.6 or later, and off for sites first installed before 5.6.
- Plugins and themes are off until you turn them on for each one.
The major-release default surprises people, because older guides still say otherwise; Hostinger’s guide, last updated in 2021, says “Major releases need to be installed manually.” WordPress’s own code sets major updates to “enabled” for new installs. When a site upgraded from before 5.6, it set that option to unset instead, which the updater treats as off.
On our test site, a fresh install, the Updates screen said so in plain words:

Turn auto-updates on or off in the dashboard
For WordPress itself, go to Dashboard > Updates. With major updates on, the screen shows “Switch to automatic updates for maintenance and security releases only.” Click it to keep minor updates and stop major ones; the link switches back the same way.
For plugins, go to Plugins. Each plugin has an Enable auto-updates or Disable auto-updates link in the Automatic Updates column. Themes have the same setting under Appearance > Themes, on each theme’s details screen.

The link appears only for plugins WordPress has update information for. Plugins from WordPress.org qualify once WordPress has checked for updates; a custom plugin, or a premium plugin whose updater doesn’t report to WordPress, shows an empty cell. We saw that empty cell on our offline test site until we gave WordPress an update record.
Rollback: what happens when an automatic update breaks the site
When an automatic plugin update finishes, WordPress loads your homepage in the background to check it still works. If that page hits a fatal error, the kind of PHP error that stops a page, it puts the old version back. This rollback check applies to plugins that were active before the update.
We tested it with a plugin update we broke on purpose: its main file called a function that didn’t exist. WordPress installed it, waited two seconds as its code always does, checked the homepage, hit the fatal error and restored the previous version within the same second. During those seconds, visitors see the short maintenance message WordPress shows while updating.
The email said “Some plugins have failed to update” and named the plugin. It doesn’t say whether a restore happened, only that “If there was a fatal error in the update, the previously installed version has been restored.” So check the plugin’s version after a failure email.
Then we broke an update in a way the homepage doesn’t show: it failed only on admin screens. WordPress’s check passed, the broken version stayed, and the email said the plugin had been updated. Our homepage and login page loaded, but a request to WordPress’s admin-ajax handler returned a 500 error.
| What the broken update did | Homepage check | Result | |
|---|---|---|---|
| Fatal error on every page | Caught | Old version restored | “Some plugins have failed to update” |
| Fatal error only in wp-admin | Passed | Broken version kept | “Some plugins were automatically updated” |
So the rollback is a safety net for the homepage, not for the whole site. Errors in the dashboard, on checkout or forms, or on a single page template can get through. That’s why the emails matter: read each one, then open the pages that plugin affects. If something did break, putting a plugin’s previous version back is covered in our safe update guide.
Keep the emails on
The update emails are the part of this system you can’t skip. WordPress sends one after each run that changed something: a list of what updated, or a warning naming any plugin that failed.
Some site owners turn them off with the auto_plugin_update_send_email filter to cut inbox noise. On our test site, that filter stopped the success email as expected, but WordPress’s code shows it stops the failure email too: with the filter returning false, the updater doesn’t collect failed plugin updates for any message. If the emails are too many, send them to a shared mailbox or filter them in your email app instead.
When WordPress auto-updates don’t run
If updates you switched on never arrive, check these things. The Updates screen names the first one directly: “This site appears to be under version control. Automatic updates are disabled.”
- A version-control folder. WordPress skips automatic updates when it finds a
.git,.svn,.hgor.bzrfolder in or above the site’s folder or the plugins folder. Its code explains the check “erring on the side of detecting a VCS checkout”. Our test copy had a.gitfolder left over, and nothing updated until we moved it out. - A constant or filter in wp-config.php or a must-use plugin turning updates off; the next section covers both.
- File access.
DISALLOW_FILE_MODSset to true in wp-config.php turns off all updates and installs, and a server where WordPress can’t write files without FTP details also blocks them. We read both in the code; we didn’t test them. - WP-Cron not running. On a site with no visitors or with
DISABLE_WP_CRONset and no server job in its place, the checks never start. - No update source. A plugin WordPress can’t check won’t update automatically, as above.
Control auto-updates with constants and filters
You can also set auto-updates in code, which overrides the dashboard. Constants go in wp-config.php, in the custom-values area before the line that ends the editable part. The WordPress handbook lists these for core:
define( 'WP_AUTO_UPDATE_CORE', 'minor' ); // minor releases only
define( 'WP_AUTO_UPDATE_CORE', true ); // all core releases
define( 'WP_AUTO_UPDATE_CORE', false ); // no core auto-updates
Use one of the three lines, not all of them. To stop every automatic update, plugins and themes included, there’s a bigger switch:
define( 'AUTOMATIC_UPDATER_DISABLED', true );
On our test site, with that line in place, an available plugin update was never installed.
A filter is a hook that lets code change a WordPress decision. The auto_update_plugin filter decides plugin auto-updates; put it in a must-use plugin, a PHP file in wp-content/mu-plugins, so a theme change can’t remove it:
<?php
add_filter( 'auto_update_plugin', '__return_false' );
With that file in place, WordPress’s updater still ran but installed nothing, even for a plugin whose toggle was on. The Plugins screen then shows the setting as disabled instead of offering a link. When we deleted the file, the same update went in on the next run. __return_true does the opposite and turns auto-updates on for every plugin; we didn’t test that one.
Which auto-updates to turn on
Leave minor core updates on: they’re the security fixes. For the rest, decide by what a broken update would cost you:
- A brochure site or blog with a few well-known plugins: turning on plugin and major core auto-updates is reasonable. The homepage rollback covers the worst case, and the emails tell you what changed.
- A shop, membership site or anything with forms that earn money: keep plugin and major core updates manual. Test them on a staging site first, since the rollback won’t notice a broken checkout.
- A site you rarely log in to: auto-updates are safer than none, but pair them with an uptime monitor and a regular backup.
The WordPress maintenance checklist has a weekly slot for reading update emails and checking key pages.
How we tested
For these runs, a copy of our lab site used WordPress 7.1.4 with PHP 8.3, nginx and MariaDB. The lab had no connection to WordPress.org. Instead, a small must-use plugin offered locally built Contact Form 7 packages as updates: one that changed only the version number, one that failed on every page, and one that failed only in wp-admin.
Each update ran through wp-cron.php, the same way a real background update starts, and we saved the emails WordPress sent. We read the core defaults from WordPress 7.1.4’s own code. We didn’t run theme updates, a real major core update or host update tools.
Frequently Asked Questions
Should I turn on automatic updates for WordPress plugins?
Automatic plugin updates suit small sites with well-maintained plugins, as long as you read the emails and check key pages. On shops and membership sites, update by hand after testing on staging, because WordPress’s rollback only checks the homepage.
Can WordPress roll back a failed automatic update?
WordPress rolls back an automatic plugin update when the plugin’s new version causes a fatal error on the homepage. Themes get no such rollback. It doesn’t catch errors that appear only on other pages or in wp-admin.
Why didn’t my plugin update automatically?
A plugin skips automatic updates when its toggle is off, when a constant or filter turns updates off, when WordPress finds a version-control folder such as .git, or when WordPress has no update source for it. Check them in that order.