Part 3: Do the work · Chapter 8
How to Update WordPress Plugins Safely Across Many Sites
A step-by-step routine for updating WordPress plugins, themes and core on many client sites without breaking them: what to back up, what to update first, what to check afterward, and how to roll back.
By Mike Valera · Last updated
Most WordPress updates are boring: a plugin goes from 4.2.1 to 4.2.2 and nothing changes. The trouble is the few that aren't. A page builder update breaks a layout, a WooCommerce update clashes with an old payment add-on, and you find out when the client calls.
Across one site, you can be careful by hand. Across thirty, you need a routine. This guide covers the one we use: back up, update in a sensible order, check, and roll back fast when something breaks.
The short answer
To update WordPress plugins safely on many sites:
- Back up each site right before updating, not last night.
- Update security fixes first, then the rest in one weekly batch.
- Update high-risk plugins on their own: WooCommerce, payment gateways, page builders, membership and form plugins.
- Try a few sites first, then the rest of the fleet.
- Check every site afterward: the home page, a form, checkout on stores, and the error log.
- Roll back the plugin that broke it, or restore the backup, the same day.
The rest of this guide explains each step.
Why updates break sites
It helps to know what you're guarding against. Most broken updates come from a handful of causes:
- Plugin conflicts. Two plugins that worked together stop working together after one changes.
- Old PHP or old WordPress. A new plugin version can need a newer PHP or WordPress version than the site has, and fail with a fatal error.
- Theme and builder changes. Page builders and their add-ons change markup and styles, so a layout shifts even though nothing technically "broke".
- Customized plugins. Someone edited a plugin's files directly, and the update overwrote those edits.
- Expired licenses. A premium plugin stops getting updates, falls behind, and finally takes a big jump that skips several versions of changes.
- Updates that time out. A large update stops halfway on a slow host, leaving the site in maintenance mode or with a half-installed plugin.
Version numbers don't tell you much here. Many plugins don't follow semantic versioning, so a "minor" release can still carry big changes. Judge risk by what the plugin does, not just the number.
What WordPress does on its own
WordPress has its own automatic updates. It applies minor core releases (security and maintenance) by default, and you can turn on automatic updates per plugin and theme from the Plugins and Themes screens.
Since WordPress 6.6, it also protects plugin auto-updates: after updating a plugin in the background, it checks the home page and dashboard for a fatal PHP error and puts the previous version back if it finds one.
That's a real safety net, and worth having on. It doesn't cover everything:
- It doesn't take a backup first.
- It only catches fatal errors, not a broken layout, a failing checkout or a much slower site.
- Rollback only covers plugin auto-updates, not themes, core, or updates you run by hand.
- It runs site by site, and you only see what happened by logging into each site.
For a handful of simple sites, WordPress's auto-updates plus a daily backup can be enough. For client sites, especially stores, you want more control over what updates when.
Step 1: Sort your updates
Not every update deserves the same care. Sort them before you start:
| Type | Examples | How to handle it |
|---|---|---|
| Security fix | Any update that fixes a known vulnerability | Apply within a day or two, even outside your weekly batch |
| Low risk | Small utility plugins, minor releases of well-maintained plugins | The weekly batch |
| High risk | WooCommerce, payment gateways, subscriptions, page builders, membership, forms, multilingual | On their own, with extra checks |
| Major release | A plugin's or theme's x.0 release, a major WordPress release | Wait a few days for the first fix release, test on staging if you can |
| Hold | Customized plugins, anything with a known problem in the new version | Lock it and write down why |
Check the changelog for anything in the high-risk or major rows. Look for words like "breaking", "requires PHP", "removed" and "deprecated".
Step 2: Back up right before updating
A backup from last night misses everything since: orders, form entries, comments, new posts. Take a fresh one right before each site updates, and make sure it finished before the update starts.
Two things make a backup worth having:
- It's stored off the server. If the update breaks the site badly or the host has a problem, a backup on the same server may not help.
- You've tested a restore. Restore one site to a staging copy now and then, so you know the process works before you need it.
Step 3: Update in a sensible order
Within each site:
- Run the low-risk batch together. Updating twenty small plugins one at a time doesn't make them safer, it just takes longer.
- Do high-risk plugins one at a time, with a check after each, so you know which one caused a problem.
- Update add-ons together with their parent plugin. WooCommerce and its extensions, or a page builder and its add-ons, should end up on versions that support each other.
- Leave major WordPress releases for a few days unless they fix a security issue. Most problems show up in the first week, and a fix release usually follows.
Across your sites:
- Start with a few sites, ideally your own or simple brochure sites that run the same plugins as your clients. Check them, then update the rest.
- Update stores at quiet times, not during a client's sale or on a Friday afternoon.
- Watch for timeouts. On slow hosts, a big batch can outrun the request time limit. Tools that run updates in the background on the site avoid this.
Step 4: Check every site afterward
An update that "succeeded" can still have broken something. Check each site after its updates, starting with the parts that cost the client money:
| Check | What you're looking for |
|---|---|
| Home page | Loads, looks the same, no error messages |
| Key templates | A blog post, a product page, any custom template |
| Forms | Submit the main contact or lead form and confirm the email arrives |
| Checkout (stores) | Add to cart and reach payment; run a test order if the gateway has a test mode |
| Logins | wp-admin, and member or customer accounts if the site has them |
| PHP error log | New fatal errors or warnings since the update |
| Speed | The home page isn't noticeably slower |
You don't need to click through every page of every site. Screenshot tools can compare key pages before and after, and an error log watcher can tell you about new fatal errors without you looking.
Step 5: Roll back fast when something breaks
When an update breaks a site, fix the site first and investigate after. You have two options:
- Roll back the one plugin. For plugins hosted on wordpress.org, every past version is available: open the plugin's page, choose Advanced View, and pick a version under Previous Versions. Plugins such as WP Rollback let you do this from wp-admin. This keeps everything else that happened on the site since the backup.
- Restore the backup. For premium plugins, themes and core, which don't have a public version archive, restore the backup you took before the update. On a store, think about orders placed in between before you restore the database.
Once the site works again, lock the plugin at the working version so the next batch doesn't reapply the update, and check the plugin's support forum or changelog for a fix.
Step 6: Keep a record
Write down what you updated, when, and what you checked. It helps when a problem shows up days later ("what changed on Tuesday?"), and it's the work your client pays for, so it belongs in their monthly report.
Can you automate all of this?
Partly, and it's getting better. The routine above is the same every week, which makes it a good fit for automation, as long as the automation does all of it: backup first, update, check, and roll back on failure. Turning on auto-updates without the rest only moves the risk to a time when you aren't watching.
A sensible way to start:
- Automate low-risk plugin updates first, with a backup before and a check after.
- Keep high-risk plugins and major releases waiting for your approval.
- Watch what the automation does for a few weeks before giving it more.
A weekly update routine
Here's the routine as a checklist:
- Monday: review pending updates across all sites and sort them (security, low risk, high risk, major, hold).
- Apply security fixes straight away, with a backup first.
- Read the changelogs for high-risk plugins and major releases.
- Update your first few sites and check them.
- Update the rest of the fleet in a batch, with a backup first.
- Update high-risk plugins on their own, one site at a time on stores.
- Check each site: home page, forms, checkout, error log.
- Roll back and lock anything that broke.
- Note what was updated for the client reports.
For the rest of a maintenance routine, from daily backups to yearly reviews, see our WordPress maintenance checklist.
FAQ
How often should I update WordPress plugins?
Security fixes within a day or two (see WordPress security for client sites). Everything else once a week works well for most client sites. Waiting much longer means bigger jumps between versions, which are more likely to break something.
Should I turn on WordPress auto-updates for plugins?
For low-risk plugins on simple sites, yes, especially since WordPress 6.6 rolls back a plugin auto-update that causes a fatal error. Keep them off for WooCommerce, payment, page builder and other high-risk plugins, and update those yourself with a backup first.
Do I need a staging site to update safely?
It helps for major releases and big stores, but you don't need one for every update. A fresh backup, a quick check afterward and a fast way to roll back cover most updates. Use staging for the risky ones.
Should I update WordPress core or plugins first?
Most of the time it doesn't matter much, as long as you back up first and check after. Do keep major WordPress releases separate from big plugin updates, so you know which one caused a problem.
How do I roll back a plugin update?
For a wordpress.org plugin, install an earlier version from the plugin's Advanced View page, with a rollback plugin, or from a management tool that supports it. For a premium plugin or theme, restore the backup you took before the update.
How do I update plugins on many WordPress sites at once?
Use a management dashboard that runs bulk updates with a backup first. FleetWP's safe updates do this across any set of sites, and our guide to managing multiple WordPress sites covers the setup.