How to Update WordPress Safely at Scale
What WordPress does during an update, where the risk sits, and how to run update rounds across many client sites without losing a weekend.
Updating one WordPress site is a button. Updating eighty is a process, and it is the process that fails: the round someone started on Friday at five, the premium plugin that quietly refused to update on twelve sites, the shop whose checkout broke while every uptime check stayed green. This guide is about that process. It covers what WordPress actually does during an update, where the risk sits, and how to run update rounds across a fleet so that a bad release costs you ten minutes instead of a weekend.
What WordPress does when it updates a plugin
Knowing the mechanics pays off, because every failure you will meet maps onto one of these steps.
WordPress learns about updates through the update_plugins site transient. Twice a day, and more often when you open certain admin screens, wp_update_plugins() sends the list of installed plugins to api.wordpress.org and stores the answer. Commercial plugins hook into that transient, usually through the pre_set_site_transient_update_plugins filter, and add their own entries, often with a download link that only works with a valid licence. If the transient is stale, the site does not know an update exists. If a vendor’s entry has no package URL, the update is listed but cannot be installed.
When the update runs, the upgrader (Plugin_Upgrader, built on WP_Upgrader) downloads the zip to a temporary file, unpacks it into wp-content/upgrade and then swaps the folders. Since WordPress 6.3 it first moves the current version to wp-content/upgrade-temp-backup, so a failed install can be put back. During bulk updates and core updates WordPress also writes a .maintenance file to the site root. While that file exists and is less than ten minutes old, visitors get the “Briefly unavailable for scheduled maintenance” page.
Each step needs something from the server: an outbound HTTP connection, write access to wp-content, enough disk space for two copies of the plugin, enough memory and execution time to unzip it. On a decent VPS you never notice. On a cheap shared plan, a large plugin such as a page builder can hit a limit halfway through. The common failures are taken apart one by one in why WordPress plugin updates fail.
Where the risk actually sits
Most updates are boring. A contact form plugin goes from 5.9.1 to 5.9.2 and nothing changes. If you treat every update as dangerous, you will spend your week reading changelogs that say “minor fixes”.
The risk concentrates in a handful of places:
- Page builders and their add-ons (Elementor and Elementor Pro, Divi, WPBakery), because a change in how they render shows up on every page at once.
- WooCommerce and its extensions, which carry database migrations and payment flows that nobody looks at until an order fails.
- Premium plugins with their own update mechanism, because licences lapse and vendors ship less predictable releases.
- Sites on an old PHP version, where a release that needs PHP 8.1 is either refused or, worse, half works.
- Sites with custom code that hooks into a plugin’s internals rather than its documented functions.
A site with twelve plugins from wordpress.org and a default theme is low risk. A shop with forty plugins, a child theme full of template overrides and three premium extensions on expired licences is not. Your update process should know the difference.
Write the fleet policy before the schedule
Agencies usually start with a schedule (“we update on Tuesdays”) and bolt on exceptions as things break. Turn that around. Decide the rules first and let the schedule follow from them.
Sort sites into risk groups
Three groups is enough for most fleets. Low: brochure sites, standard plugins, nothing transactional. Medium: forms that feed a CRM, member areas, multilingual setups. High: shops, booking sites, anything where an hour of breakage costs the client money. The group decides how much checking an update gets and when it runs.
Decide what may run automatically
WordPress can update itself. Minor core releases do so by default, and since 5.5 every plugin and theme has an auto-update toggle. In code you control it with the auto_update_plugin, auto_update_theme and auto_update_core filters, or switch background updates off entirely with the AUTOMATIC_UPDATER_DISABLED constant. My default: minor core releases and translations automatic everywhere, plugins automatic on the low-risk group only, and nothing automatic on shops. The full argument is in should WordPress updates run automatically.
Decide what you hold back
Some updates you skip on purpose for a while: a major page builder release in its first week, a plugin whose last release broke a client’s layout, a premium extension whose vendor has not confirmed support for the new WooCommerce. Holding back is a decision, so write it down with a reason and a date to look again. A plugin held “for now” without a note is still held two years later, by which time it is the security problem.
A safe update round, step by step
This is the round I would run on a medium or high-risk site. On low-risk sites you can drop the manual checks and rely on automated ones.
- Refresh the update information, so you work from today’s list rather than yesterday’s transient. Dashboard, Updates and its Check again link do that.
- Read the changelog for anything with a new major or minor version number, and for every plugin on your high-risk list. You are scanning for “requires”, “breaking”, “migration” and “deprecated”.
- Make a restore point: at minimum a copy of the files you are about to replace and a fresh database dump. Last night’s backup is not enough if the round runs at four in the afternoon and the shop has taken thirty orders since.
- Put the site in maintenance mode for the length of the round, so visitors never see a half-updated site and nobody places an order while WooCommerce migrates its tables.
- Update plugins and themes first, then core. For a major core release, wait until the plugins that matter on this site say they support it.
- Run the database updates that plugins announce. WooCommerce, Elementor and others ship schema changes that only run after the new files are in place, and until they run the site sits between two versions.
- Check the result: key pages return 200, the PHP error log is clean, the pages look as they did before, and the one flow that matters on this site (checkout, booking, the quote form) still works.
- Lift maintenance mode and record what changed, from which version to which.
Check for more than a white screen
There are three kinds of breakage after an update, and each needs its own check.
A fatal error is the easy one. The site shows “There has been a critical error on this website” or returns a 500. Since WordPress 6.6 the automatic updater catches part of this on its own: after an automatic plugin update it makes a loopback request to the site, and if that request runs into a fatal error it restores the previous version from the temporary backup and emails the administrator. That is a genuine improvement, with limits. It covers automatic updates only, plugins only, fatal errors only, and only on hosts where loopback requests work. Plenty of shared hosts block them.
Layout breakage is harder. The page returns 200, the uptime monitor is happy, and the hero section has shifted with the mobile menu stuck open. You only catch it by comparing the page with how it looked before the update, and screenshot comparison is the practical way to do that at scale. See how to detect broken layouts after updates.
Functional breakage is the hardest. The page looks right but the payment button does nothing, because a JavaScript error in one plugin’s script stops everything after it. Look at the browser console on key pages, and on shops place a test order with a test payment method after every round that touched WooCommerce or a payment plugin.
When an update goes wrong
Decide in advance how you will undo an update. When it goes wrong you will want to act fast, and fast is when people do something clever on a live shop.
For a plugin, the quick route is to put the previous version back: from your own copy, from the previous versions on wordpress.org, or from the vendor’s account for a premium plugin. The catch is the database. If the new version has already migrated its tables, the old code may not understand them, and restoring the old files is not a full undo. Then you restore the dump from step 3 as well, and on a shop you weigh that against the orders placed since. The routes, including WP-CLI and the upload-and-replace option in wp-admin, are in how to roll back a WordPress plugin update.
After a rollback, stop the same version coming straight back. Turn off auto-updates for that plugin on that site, note why, and look again when the vendor ships a fix.
Updates on shared hosting and without a command line
Many client sites live on shared hosting with a 30-second PHP execution limit, 128 MB of memory and no SSH. WP-CLI is not available, WP-Cron only runs when someone visits, and the host’s firewall may block requests from your own server.
You can still update safely there, but the process has to fit the host: one plugin at a time rather than a bulk run, large plugins at quiet hours, a look at free disk space before a big update, and backups made in small pieces rather than one long request. WordPress updates on shared hosting covers the host-side limits, and safe WordPress updates without WP-CLI covers running the whole round from wp-admin or a management tool.
Timing, and telling the client
Run rounds when someone can react. Tuesday to Thursday mornings are a good default. Friday evening is not, and neither is the first day of a client’s big sale.
Agree a maintenance window in the contract and keep to it. For a shop that is a quiet hour; for a B2B site it may be a weekday evening. If a round needs maintenance mode for more than a few minutes, tell the client beforehand. Nobody minds a planned five minutes. Everyone minds an unexplained one.
What to automate across a fleet
Somewhere past twenty or thirty sites the manual round stops scaling. Logging in to each wp-admin, making a backup, clicking update and checking the front end takes ten to fifteen minutes per site even when nothing goes wrong. Say you look after 60 sites and update weekly: that is ten to fifteen hours a week of clicking, before anything breaks.
Automate the parts that need no judgement: refreshing update data, the restore point, maintenance mode, the update itself, database updates, the screenshot comparison and putting back a plugin that breaks the site. Keep the parts that do need judgement: what to hold back, which changelogs to read, and what to tell the client.
That split is what WP Octo is built around. An update round backs up what it is about to change, puts the site in maintenance mode, compares chosen pages before and after, and rolls back a plugin that breaks the site and then holds that version. A whole round can be undone with one button, and it works on shared hosting without SSH. The full list is on the features page.
Keep a record you can read later
Three months from now a client will say the contact form stopped sending “after one of your updates”. If you can answer with the date, the plugin and the version change, that is a two-minute conversation. If you cannot, it is a bad afternoon. Log every round: the site, what changed from which version to which, what was held back and why, and what you checked afterwards. A spreadsheet will do. A tool that writes the log for you will do better, because nobody forgets to fill it in.