Updating WordPress core, plugins and themes safely
Last updated
Updates are the most important routine job on a WordPress site. They fix security holes and bugs, but every update is also a small risk: a plugin can clash with your theme, or a new WordPress version can need a newer PHP version than your server runs.
MaintainHQ gives you several ways to update, and each one has safety steps built in. This guide explains which button does what, what happens behind the scenes, what the status labels mean, and how to recover if an update goes wrong.
If you want updates to happen without you, read automatic plugin updates with staging and rollback after this one.
The ways to update, and what each does
| Where | What it updates | Safety steps |
|---|---|---|
| Site page, WordPress core section | WordPress itself | Backup first, update, check the site, roll back automatically if it broke |
| Site page, Themes section | One theme, or all themes with updates | Backup first, update, check the site, roll back automatically if it broke |
| Site page header, Update all | Every plugin with an update | Full backup first; updates start only once it has finished |
| Sites list, Update All (card or bulk) | Every plugin with an update, per site | Full backup first; updates start only once it has finished |
| Updates & plugins page, Update or Snapshot & Update | Single plugins, or a selection across sites | Full backup first; updates start only once it has finished |
| Automatic updates | Plugins set to auto update | Backup, update, check, roll back automatically, then watched for a while |
The pre-update backup for plugins is controlled by the "Before plugin updates" trigger in Backups, under Scheduling. It is on unless you switch it off. If a backup finished in the last half hour it is reused, and if one is already running MaintainHQ waits for it. If the backup does not complete, the updates are not started and you are told why.
What the safe-update process does
Theme and WordPress core updates, and automatic plugin updates, run through the safe-update process. For each update it:
- Takes a backup. WordPress major versions get a full-site backup first.
- Saves a copy of exactly the files the update is about to change, so they can be put back quickly.
- Installs the update.
- Checks the site: that the home page loads, that there is no WordPress critical error, that no PHP fatal errors appeared, and that the new version is really installed.
- If any check fails, rolls the update back to the previous version automatically.
Each update also records a speed baseline. If real visitors find the site slower after the update, you are told and can roll it back. See real-visitor Core Web Vitals.
How to update WordPress core
- Open the site and choose WordPress core in the side menu (it shows "Update" next to it when one is waiting).
- Read the Update Assessment. A Major update carries more risk of breaking changes than a Minor or Patch update. Check PHP Compatibility: if it says the new version requires a newer PHP than the site runs, ask your host to upgrade PHP first.
- Check Plugin Compatibility. If plugins need updates, it is usually best to update those first.
- In the WordPress update panel at the top, click Update.
- Watch the status badge change from Queued to Backing up, Updating, Checking the site, and finally Updated.
How to update themes
Open the site and choose Themes. The Theme updates panel lists each theme with an update, showing the current and new version. Click Update on one theme, or Update all to queue every theme update. Each theme goes through the safe-update process on its own.
If you use a child theme (a small theme that customises a parent theme), it is the parent theme that normally receives updates. Your customisations in the child theme are not overwritten.
How to update plugins
For one site, click Update all in the site page header, or open Plugins on the site page and click Update next to a plugin. For many sites, use Update All on the Sites list or the Updates & plugins page.
A message shows each stage: preparing, taking the backup, waiting for it to finish, then updating. When it finishes you see how many plugins were updated and the name and error of any that failed. Large sites are updated in several rounds automatically, so every plugin gets its turn.
What the status labels mean
| Status | Meaning |
|---|---|
| Queued | Waiting to start. |
| Waiting | Held until it is allowed to run. Hover the badge to see why. |
| Taking a full backup / Backing up | The backup is being made. |
| Updating | The new version is being installed. |
| Checking the site | The site is being checked after the update. |
| Updated, being watched | Updated successfully and being watched for problems for a while. |
| Updated | Updated and stayed healthy. |
| Rolled back | The site broke after updating, so the previous version was put back. |
| Rollback failed | The update broke the site and putting the old version back also failed. Check the site straight away. |
| Failed, nothing changed | The update could not be installed. The site was left on the old version. |
| Skipped | Not needed any more. |
| Needs approval | Will not run until someone approves it. |
Hover a red badge to see the reason. The Recent list under each panel keeps the last few updates with their result and when they ran.
Good practice
- Update little and often. Ten small updates a week are far easier to troubleshoot than a hundred at the end of the quarter.
- Update plugins before a WordPress major version, so they are ready for it.
- Keep the "Before plugin updates" backup trigger switched on.
- For important sites, use a staging site (a private copy of the site) and the Staging first auto-update setting, so changes are tried on the copy before the live site.
- Check the PHP version. A site on an end-of-life PHP version will eventually be unable to take new WordPress versions.
The WordPress maintenance checklist puts updates into a wider weekly and monthly routine.