A fully remote UK team. Send a message or a voice note and we handle the rest. Book a consultation

Updates without surprises: how we keep WordPress sites current

Our update routine for WordPress sites: checking, backing up, testing on a copy, applying and rolling back.

Abstract dark and orange artwork for the article: Updates without surprises: how we keep WordPress sites current

WordPress powers a great many websites, and one reason is its large collection of plugins and themes. That flexibility comes with a responsibility: WordPress itself, and every plugin and theme on your site, is updated regularly by its makers. Keeping up with those updates is a central part of looking after a WordPress site.

Updates are usually simple. Occasionally they are not. This post explains the routine we follow so that updates happen regularly, carefully and without nasty surprises. It is part of our series on care; for the wider picture, see why websites and apps need ongoing care.

Illustration: a shield and padlock protecting dataIllustration: a shield and padlock protecting data
A shield and padlock protecting data.

What gets updated

A WordPress site has three main kinds of software, each updated separately:

  • WordPress core, the main software. Updates range from small maintenance and security releases to larger releases with new features.
  • Plugins, which add features such as contact forms, booking, shops, search or galleries. A typical site has several, each from a different maker with its own update schedule.
  • Themes, which control how the site looks.

Behind these sits the server software, including PHP, the programming language WordPress runs on. Hosting providers retire older versions of PHP over time, and moving to a newer one sometimes needs plugins or themes to be updated first.

Why updates matter

Updates fix bugs and add features, but the main reason to keep up is security. When a problem is found in a plugin or in WordPress, the fix arrives as an update. Sites that do not apply it remain exposed, and automated attacks look specifically for sites running old, known-vulnerable versions.

WordPress's own documentation says that to keep your site secure, you should update your plugins and themes to the latest version, and it shows an alert in the admin area when an update is available (WordPress, plugin and themes auto-updates).

Why updates sometimes cause problems

If updates are so important, why not apply them all automatically, straight away? Usually that works. But occasionally:

  • A plugin update clashes with another plugin or with your theme, and part of the site stops working.
  • A WordPress core update changes something an older plugin relied on.
  • Custom changes are lost. WordPress's documentation warns that the update process affects all the core files, so any changes made directly to them will be lost (WordPress, updating WordPress). The same applies to themes that were edited directly rather than through a child theme.
  • A plugin is abandoned. Its makers stop updating it, so it never gets security fixes.

Most of these are rare, but they tend to show up at the worst time. A careful routine makes them far less disruptive.

Our update routine

1. Check what is waiting

We start by looking at which updates are available, and reading what each one contains. A small maintenance release is different from a major new version. We also check whether anything has been reported as causing problems.

WordPress's own guidance recommends checking that plugins and themes are compatible with the version you are installing before you update (WordPress, updating WordPress).

2. Take a backup first

Before any update, we make sure there is a fresh, complete backup of the site: its files and its database. WordPress's own documentation advises backing up the database regularly, and always before an upgrade (WordPress, backups). If something goes wrong, the backup is how we put things back.

3. Test on a copy where we can

Where hosting allows, we apply updates to a copy of your site first, often called a staging site. It looks and behaves like the real thing, but visitors never see it. If an update breaks something there, we can investigate without your customers ever noticing.

For small, low-risk updates on simple sites, a full staging test may not be needed every time. For larger updates, shops, and sites with important forms or bookings, it is worth the extra step.

4. Apply updates in a sensible order

Rather than clicking "update all", we apply updates in a considered order, usually one at a time or in small groups. That way, if something breaks, we know which update caused it.

5. Check the site afterwards

After updating, we check the parts of the site that matter to your business, not just the home page:

  • the main pages load correctly on a phone and a computer
  • forms send messages
  • bookings or orders can be placed
  • the shop's checkout works, for online stores
  • sign-in works, if the site has accounts
  • nothing looks out of place

6. Roll back if something is wrong

If an update causes a problem that cannot be fixed straight away, we roll back: we return the site to how it was before, using the backup or by reinstating the previous version of the plugin. Then we look into the cause, report it to the plugin's makers if it is their bug, and try again once there is a fix.

7. Record what we did

Every update is recorded, along with anything held back and why. That record appears in your monthly check-in report.

Automatic updates: helpful, with care

WordPress can update itself, and it can update plugins and themes automatically if that is switched on. Automatic updates have real benefits, especially for small security releases, because they are applied without waiting for anyone.

We decide which automatic updates to allow site by site. For many sites, it makes sense to let small security and maintenance releases of WordPress core update automatically, while plugins and larger releases go through our routine. For a site where a broken checkout or booking form would be costly, we are more cautious. Whatever we choose, we monitor the site, so a problem caused by an automatic update is spotted.

The care plans we have proposed for WordPress sites, on our care plans page, include updates made after a backup. They are proposals rather than a live offer for now, so we confirm the details with you first.

Illustration: data kept in step between two storesIllustration: data kept in step between two stores
Data kept in step between two stores.

Major updates and PHP versions

Some updates deserve more planning than others:

  • Major WordPress releases can change how parts of the editor or admin area work. We test these on a copy first and check that your plugins support them.
  • PHP upgrades, often prompted by a hosting provider retiring an older version, can affect older plugins and themes. We check compatibility in advance and update or replace anything that would break. WordPress's documentation on upgrading covers some of the background (WordPress, upgrading WordPress).

When one of these is coming, we mention it in the recommendations section of your report, so it does not catch anyone out.

Keeping the plugin list healthy

Updates are easier when a site has fewer, well-maintained plugins. As part of care, we also look at:

  • Plugins that are no longer updated. If a plugin has been abandoned by its makers, we recommend replacing it.
  • Plugins that are no longer used. Deactivated plugins still sit on the server and can still contain security holes. We suggest removing anything that is not needed.
  • Plugins that overlap. Two plugins doing the same job can clash. One is usually enough.
  • Plugins from unknown sources. We prefer plugins from reputable makers with a history of regular updates. We discuss this more in choosing well-established tools.

When a site has fallen behind

Sometimes we take on a WordPress site that has not been updated for a long time. In that case, we do not apply years of updates in one go on the live site. We take a full backup, make a copy, and work through the updates step by step on the copy, checking as we go. Along the way, we look for plugins that have been abandoned, themes that were edited directly and anything that will not run on a current version of PHP.

Once the copy is working on current versions, we plan the move to the live site with you, at a quiet time. If a site is too far behind to bring up to date sensibly, we explain the options honestly, which might include rebuilding parts of it.

Illustration: a list of updates next to a settings cogIllustration: a list of updates next to a settings cog
A list of updates next to a settings cog.

What you can do

If you manage your own WordPress site, or update parts of it yourself, a few habits help:

  • Do not edit theme or core files directly. Ask us to make changes in a way that survives updates.
  • Be cautious about adding plugins. Each one adds something else to update. If you need a new feature, ask us first; there may be a simpler way.
  • Tell us if you notice anything odd after an update, such as a missing page or a form that does not seem to send.
  • Keep your admin login safe and turn on two-step verification if your site supports it.

An illustration (made up)

Here is a made-up example. It is not a real client.

Imagine a small bakery's WordPress site, with an online ordering plugin, a gallery and a contact form. One month, there are updates waiting for WordPress, the ordering plugin and the gallery.

We take a backup and apply the updates to a staging copy. WordPress and the gallery update cleanly. After the ordering plugin update, the delivery date picker stops appearing on the checkout page. We restore the staging copy, check the plugin makers' support pages and find others reporting the same problem, with a fix promised.

We apply the WordPress and gallery updates to the live site, test the shop and forms, and hold back the ordering plugin. The report explains this. When the fixed version arrives, we test it on staging, confirm the date picker works and apply it to the live site. The bakery's customers never see a broken checkout.

In short

WordPress core, plugins and themes all need regular updates, mainly for security. Updates usually go smoothly, but occasionally clash or break something. Our routine is to check what is waiting, back up first, test on a copy where we can, apply updates in a sensible order, check the important parts of the site, roll back if needed and record what we did. We decide on automatic updates site by site, plan ahead for major releases and PHP upgrades, and keep the plugin list lean and well maintained. If you would like help keeping your WordPress site current, get in touch.