Before you update: five checks

A plugin update replaces the plugin’s whole folder with new code. Most updates are harmless; the ones that break a site usually gave a hint first. Spend two minutes on these before you click.

  1. A recent backup exists and you know how to restore it. The host’s daily backup counts if you have checked it restores. For a shop, note that restoring a whole backup also rolls back orders taken since.
  2. Read the changelog. On the Plugins screen, “View version details” opens the plugin’s changelog. Look for a new major version, “database update”, changed requirements and removed features.
  3. Check the requirements. Every plugin declares the WordPress and PHP versions it needs (“Requires at least”, “Requires PHP”). WordPress warns when an update needs more than the site has.
  4. Check the license for premium plugins. Without an active license on that domain the update download is refused, often with a vague “Unauthorized” or “Download failed”.
  5. Note the current version. You need it to roll back. wp plugin list shows every plugin’s version in one go.

Three ways to update a plugin

From wp-admin

Go to Dashboard, Updates, tick the plugins and click Update Plugins, or click update now under a plugin on the Plugins screen.

What WordPress does: it downloads the zip into wp-content/upgrade/, puts the site into its short maintenance mode, switches the plugin off if it was active, replaces the folder, then switches it back on and removes the maintenance file. Since WordPress 6.3, the previous version is kept in wp-content/upgrade-temp-backup/ while this happens and put back if the install fails (how that rollback works).

By hand, with a zip

For premium plugins, or when wp-admin cannot download the update:

  1. Download the new version’s zip from the vendor (or from the plugin’s WordPress.org page).
  2. Go to Plugins, Add New Plugin, Upload Plugin, choose the zip and click Install Now.
  3. WordPress shows the installed and uploaded versions side by side. Click Replace current with uploaded.

Over SFTP you can do the same by uploading the new folder under a temporary name, then swapping the names. Do the swap quickly: while the folder is missing, WordPress switches the plugin off.

With WP-CLI

Over SSH, from the WordPress root:

wp plugin list --update=available
wp plugin update contact-form-7
wp plugin update --all --dry-run
wp plugin update woocommerce --version=9.4.2

--dry-run lists what would change without changing anything. --minor and --patch limit --all to smaller version steps, which is a reasonable default for an unattended script. WP-CLI writes files as the SSH user, so it often works where wp-admin asks for FTP details.

After each update: what to check

Check the pages that plugin touches, not only the home page.

  • The home page and one inner page, in a private window so you see what a visitor sees.
  • The feature the plugin runs. A form plugin: send a test message and confirm it arrives. WooCommerce or a payment plugin: add a product to the cart and go to the payment step. A booking plugin: open the calendar.
  • Phone width. Page builder and slider updates often break the mobile layout first.
  • Notices in wp-admin. WooCommerce, Elementor and others ask for their own database update after a new version.
  • Errors. If WP_DEBUG_LOG is on, read wp-content/debug.log; otherwise check the host’s PHP error log.
  • Caches. Clear the page cache, the CDN and the object cache, so visitors do not get pages built with the old plugin’s files.

How often should you update WordPress plugins?

  • Security fixes: as soon as a fixed version exists. A hole anyone can reach without logging in is often attacked soon after it is published. Watch a vulnerability feed for your sites; our vulnerability alerts page explains how matching works.
  • Everything else: weekly or every two weeks. A regular round keeps each update small. A site left for six months faces several major versions at once.
  • Major new versions: wait a few days unless they carry a security fix. Early bugs get fixed in the first point release.

WordPress has per-plugin auto-updates (the “Enable auto-updates” link on the Plugins screen, since WordPress 5.5), and since 6.6 it rolls back an automatic plugin update that causes a fatal error on the home page. It does not notice a broken form, a changed layout or a failed checkout. Our guide to WordPress updates covers how to decide which updates run by themselves.

What can go wrong, and how to undo it

What you see What happened What to do
“There has been a critical error on this website” The new version has a fatal error on this site Use the recovery mode link WordPress emails the admin address, or rename the plugin’s folder over SFTP, or run wp plugin deactivate <slug> --skip-plugins=<slug>. Then roll back
“Briefly unavailable for scheduled maintenance” that stays The update stopped before it finished Remove the stuck maintenance file and run the update again
The plugin is switched off The update failed after WordPress deactivated it Switch it back on, then find out why the update failed
A page looks different or a form stopped sending A change in the plugin’s output or scripts Roll back to the previous version and report it to the plugin’s author
Old data looks wrong after rolling back The new version changed the database Restore the database from the backup taken before the update

To roll back, install the previous version over the new one:

wp plugin install contact-form-7 --version=6.0 --force

The --force flag replaces the installed copy. For premium plugins, upload the older zip with Replace current with uploaded. Rolling back puts back the files, not the database, which is why the backup matters.

How to explain it to the client

Clients do not need the version numbers; they need to know the work happened and was checked. A line in the monthly report is enough:

14 plugin updates this month, 2 of them security fixes (the forms plugin and the slider). After each one we checked the home page, the contact form and the booking page on desktop and phone.

If an update had to be rolled back, say so plainly, with what you will do next: “The March update of the slider broke the home page banner, so we put the previous version back and will try again when the author releases a fix.”

How Keptstone handles it

Keptstone runs every plugin update as a safe update. Before the update it loads the site’s own key pages (the home page, the contact page, checkout and others it picks, up to five) and makes a restore point of the plugin’s folder. It updates with WordPress’s own upgrader, then loads the same pages again and compares them: a page that errors, stops halfway or loses most of its content counts as broken, and the update is rolled back by itself, through the connector, without FTP details. Where Keptstone’s browser can reach the site, it also takes before and after screenshots on desktop and phone. If an update fails, the connector switches back on every plugin that was on before.

Across many sites, bulk updates run one site and one server at a time, with security fixes listed first. Safe updates are in the Care plan, $2 a site a month (pricing). Keptstone does not run backups, so keep the host’s backups in place for database changes a file rollback cannot undo.

Questions

Should I update WordPress plugins one at a time or all at once?

One at a time, or in small groups, on any site that matters. When something breaks you know which update caused it, and a slow host is less likely to stop halfway through a long bulk run.

Is it safe to turn on auto-updates for plugins?

For small, well-maintained plugins it usually is. Since WordPress 6.6 an automatic plugin update that causes a fatal error on the home page is rolled back, but nothing checks that forms, layouts or checkout still work, so keep big plugins such as WooCommerce or page builders on updates someone checks.

How do I update a premium plugin that shows no update button?

Activate or renew its license on that site, then check for updates again. If the vendor still refuses the download, get the zip from your account on the vendor's site and upload it from Plugins, Add New Plugin, Upload Plugin, then choose Replace current with uploaded.

What happens if a plugin update fails halfway?

Since WordPress 6.3 a failed update during install puts the previous version back. If the process was stopped outright, the plugin can be left half copied or switched off: check the Plugins screen, and reinstall the plugin if its files are incomplete.

How often should you update WordPress plugins?

Security fixes as soon as a fixed version exists, the same day for holes anyone can reach. Other updates in a weekly or fortnightly round, so no site drifts months behind.