WordPress maintenance Hacked site cleanup Security plugin Pricing Security tips
Home / Security tips / Wordpress maintenance
May 26, 2026

How to safely update WordPress, plugins and themes

A working homepage doesn’t mean your update went well. Your product pages might look fine while checkout refuses payments, or a booking form might stop sending confirmations without showing an error.

That’s why a safe WordPress update needs more than clicking a button. You need a backup, a sensible update order and a few checks that follow what customers actually do. Not complicated. Just deliberate.


Check compatibility before choosing an update order

There’s no universal rule that says WordPress core must always go first. A plugin release might require a newer WordPress version, while a theme vendor might tell you to update its companion plugin before changing the theme.

Read the release notes and compatibility instructions for the components you’re changing. Check their WordPress and PHP requirements against what’s running on your site. If you’re planning a PHP upgrade too, treat that as a separate change rather than bundling everything into one afternoon.

For a shop, pay particular attention to WooCommerce, payment extensions and anything handling subscriptions or stock. Those pieces depend on each other. Our explanation of why WordPress updates sometimes break websites covers how those dependencies can cause trouble.

Security fixes deserve prompt attention. But prompt doesn’t mean skipping preparation.


Back up the files and the database

You need both. Files contain WordPress, plugins, themes, uploads and configuration; the database holds content, settings, user accounts and usually your orders or bookings. Saving only one leaves you with an incomplete recovery option.

Before updating, check that your backup includes:

  • The site’s files, including uploads, theme customisations and configuration files.
  • The complete WordPress database, including tables created by plugins.
  • A copy stored outside the live hosting account, plus clear restore instructions.

Check the completion time and any warnings. A scheduled backup that failed last night isn’t much help today. Ideally, practise restoring a backup into a separate test environment before you need it urgently.

If someone handles WordPress maintenance for you, ask who checks backups and who handles recovery. “Backups included” leaves a lot unsaid.


Use staging for changes with bigger consequences

Staging is a separate test copy of your website. Production is the live site your customers use. Keep that distinction clear: a successful staging update hasn’t updated production, and copying staging over production can overwrite newer customer data.

Use staging for major WordPress releases, substantial theme changes, checkout updates and upgrades across several skipped versions. Match the live site’s PHP version and relevant server settings as closely as possible.

Protect the copy from public access and search indexing. Disable real payment processing, customer emails, scheduled charges and external integrations that could act on copied customer records. Use test credentials where available.

Then rehearse the update sequence and record what you did. For a simple informational site, the checks may be fairly quick; a membership site with recurring payments needs more attention.

Ask your web hosting provider whether staging is available and exactly what its deployment button copies. Files only? Database too? Find out before pressing it.


Update one component at a time

Choose a quieter period when you’ll be around to check the result. Don’t start a checkout update five minutes before leaving for the day.

Follow the sequence you tested and the vendor’s instructions. Update one component, wait for completion, then check the dashboard and the affected feature before moving on. If a vendor requires several linked updates together, follow that documented sequence and test the group immediately afterwards.

Theme updates need an extra glance. Changes made directly inside a parent theme can be overwritten, so have a developer check those customisations first. A child theme helps preserve suitable changes, but it doesn’t make every update compatible.

Don’t turn plugin cleanup into an extra experiment during the same session. If you’re removing something unused, follow a safe plugin removal process separately. Fewer simultaneous changes means less detective work.


Test the customer journey, not just the homepage

After production updates, clear relevant page caches so you’re checking current output. Open a private browser window too - logged-in administrators can see a different version from customers.

Run through the actions that keep your business moving:

  1. Open key pages on a phone and desktop. Check menus, images and buttons.
  2. Submit an enquiry and confirm it reaches the intended inbox, rather than trusting the success message.
  3. For a shop, test product options, basket changes, delivery calculations and checkout using an agreed test method.
  4. Check account login, downloads, bookings or other features your customers rely on.

A camera-accessory shop should check that choosing a different lens mount adds the correct variation to the basket. That’s a useful test. Admiring the homepage banner isn’t.

Check payment-provider records and notification delivery where relevant. A completed checkout screen doesn’t prove every later step worked.


Roll back without erasing new orders

If something breaks stop further updates and note the last change. Save the error message and check hosting or WordPress error logs without exposing them publicly.

A targeted rollback may restore the previous plugin or theme files while keeping newer orders intact. However, some updates also change database structures or stored data. Replacing files alone may then be unsafe; check the vendor’s recovery instructions or get technical help.

Don’t casually restore yesterday’s entire database onto a trading shop. That can erase orders, registrations and stock changes received since the backup. Pause affected transactions if necessary, preserve the current database and plan how newer records will be retained or reconciled.

After recovery, repeat the customer-path checks. Record the versions, result and follow-up work, then review error logs and security alerts. Your next useful step is simple: confirm the timestamp of your latest complete backup and where you’d restore it.