What WordPress’s own auto-updates do, and what they skip

Since WordPress 5.5, every plugin and theme on the Plugins and Themes screens has an “Enable auto-updates” link. WordPress checks for new versions twice a day through WP-Cron and installs them in the background. Minor core releases (6.8.2 to 6.8.3, for example) have updated themselves since WordPress 3.7.

That is a good default for one site. For an agency it leaves three gaps:

  • Nobody looks at the pages afterwards. WordPress 6.6 added a safety net: after a plugin auto-update it loads the site once, and if PHP dies with a fatal error it puts the old version back. A page that answers 200 but lost its layout, a page builder that fails quietly, or a checkout that stops halfway all pass that test.
  • You cannot choose when. Updates land whenever WP-Cron runs, often in the client’s busiest hour.
  • Nobody hears about it. The update is in a log on one site out of fifty.

WordPress’s documentation on auto-updates covers the built-in switches. Keptstone’s safe updates replace them with checks and a way back.

A safe update, step by step

Every update Keptstone runs, from the Update button on one site, a bulk update across sites, or an automatic run at night, goes through the same steps.

1. Check the pages first

Keptstone loads the site’s check pages as a visitor would: the home page and the login page by default, or up to five pages you choose per site, such as contact, cart or checkout. It adds a fresh query string so a page cache cannot answer, and records each page’s size and links. Where Keptstone’s browser can reach the site, it also takes screenshots (visual checks).

2. Make a restore point

The connector zips the plugin or theme folder into wp-content/keptstone-snapshots. Restore points are kept 14 days, at most three per plugin or theme, up to 200 MB each.

3. Update

WordPress’s own upgrader installs the new version. Active plugins stay active.

4. Tidy up

The connector removes a stuck .maintenance file and flushes the object cache and the common page caches (WP Rocket, W3 Total Cache, LiteSpeed, WP Super Cache, WP Fastest Cache, SiteGround, Breeze and Autoptimize), so the next check sees the new code.

5. Check again, then look twice

Three seconds later the pages are loaded again. If one is broken, Keptstone waits ten seconds and looks once more, because a page warming its cache is not a broken site.

6. Roll back if it is still broken

The connector moves the current files aside, unpacks the restore point, and deletes the moved-aside copy only after the restore worked. The update is marked Rolled back with the reason, and your owners and admins get an email (and a Slack message, if you added a channel).

What counts as a broken page

Only pages that worked before the update count against it. After the update, a page is broken when it:

  • answers 500 or more;
  • shows WordPress’s “There has been a critical error on this website” message or a PHP fatal error;
  • shows “Briefly unavailable for scheduled maintenance”;
  • stops halfway: an HTML page with no closing </html>, which is what a fatal error after the page started looks like, often with a 200 status;
  • is any other error page that answers 200: a database connection error, a blank page, the WordPress installer, a host’s suspension page;
  • lost most of its content: a page of 8 KB or more that shrank below 40% of its size, or lost over 60% of its links, the usual sign of a page builder failing quietly.

When the update itself fails

WordPress’s single-plugin upgrader switches an active plugin off before it installs and back on only if the install worked. When the install fails, for a license refusal or a file permission error, the plugin can stay off without anyone noticing, and the page that uses it breaks.

The connector notes which plugins were on before the update. If the update fails, it puts the restore point back when the failed install changed any files, then switches every plugin that was on back on. The one exception is a plugin whose changed files could not be put back: it stays off, because half an install switched on can take the whole site down. Keptstone checks the pages again, and if one that worked is now broken, or the plugin could not be switched back on, the alert says “needs attention after a failed update”.

Failed updates are explained in words on the update log: a license the plugin’s maker refused (renew it, or upload the zip to your Library), files the host will not let WordPress write (on WP Engine, “Reset file permissions” in the User Portal), or an update no longer on offer.

What the agency sees, and what the client sees

You see every update in the site’s update log: the old and new version, whether it ran as a safe update, the pages checked, the visual verdict, and Rolled back with the reason when it was put back. Updates you started show in the Jobs panel until they end. The Updates screen across all sites marks the updates that fix a known vulnerability and lists them first (bulk updates).

Your client sees the updates that stayed in their monthly report, with old and new versions. A rolled-back update is not reported as an update. Inside their WordPress, the Site care page lists this month’s updates. What you tell them about a rollback is up to you; the report never invents an explanation.

Limits

  • WordPress core has no restore point. A core update that breaks a page is reported at once, but Keptstone cannot put it back.
  • Files only. Database changes a plugin makes on its first load after the update stay. Keep the host’s backups on; Keptstone does not run backups.
  • A fatal error in the middle of an update can end the site’s request before the connector can put anything back. The page checks afterwards still show the broken site, and the alert goes out.
  • The restore point needs PHP’s ZipArchive and direct file access, which nearly every host provides.
  • A visual change never rolls an update back by itself, because sliders and banners change on their own. Broken pages do.
  • Sites behind a host firewall run the same steps themselves at their next check-in (check-in mode), without screenshots.
  • Updates made in wp-admin by hand have no restore point from Keptstone. They are recorded as detected updates.

Automatic updates, the safe way

Each site can update itself on a schedule: security fixes only, security and minor updates, or everything, in weekdays and an hour you choose in the client’s time zone. Automatic updates refuse to run without a restore point, take at most six updates a night per site, run plugins and themes before core, and stop the rest of the night’s run after an update that broke a page. An update that fixes a hole rated CVSS 9 or more, or 7 or more that anyone can reach, starts at the next run, whatever the window.

Which plan it is in

Safe updates, rollback and visual checks are in both plans: Care at $2 a site a month, and Care + Protect + Speed at $4. See pricing, or read how to update plugins safely by hand if you are not ready for a tool.

Questions

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

For well-maintained plugins on simple sites it usually is, and it closes security holes faster. The risk is that WordPress installs the update without looking at the site's pages afterwards, so a broken checkout or a half-drawn page can sit unnoticed until a visitor finds it. Safe updates add the checks and the way back.

Does Keptstone need the site's FTP or SFTP details to roll back?

No. The connector plugin makes the restore point and puts it back from inside WordPress, so Keptstone never asks for or stores FTP, SFTP or WordPress passwords.

Can Keptstone roll back a WordPress core update?

No. WordPress core gets no restore point, so a core update that breaks a page cannot be put back by Keptstone. The alert says the site needs attention now, and core always runs after the plugins and themes in an automatic run.

Are the plugin's database changes undone when an update is rolled back?

No. The restore point holds the plugin or theme files only. A plugin that changed its own database tables on its first load after the update keeps those changes, which is why a host backup still matters.

Do safe updates work on SiteGround and other hosts that block outside tools?

Yes. On those sites the connector runs the same steps itself through check-in mode: it loads the pages from the site's own server, makes the restore point, updates, checks again and rolls back if needed, then reports to Keptstone.