Skip to content

How to Update WordPress Safely: Core, Plugins and Themes

A step-by-step routine for updating WordPress core, plugins and themes without breaking the site, plus what to do when an update fails.

quality wordpress · Updated · 4 min read

Developer applying WordPress updates on a laptop

Photo by Zayed Hossain on Pexels

TL;DR

Back up first, update on a staging copy if the site matters, then update in this order: plugins, themes, then WordPress core. Check the pages that earn money after each batch, and roll back from the backup if something breaks. Skip the Update All button on a live store.

To update WordPress safely, take a fresh backup, apply the updates on a staging copy, test your key pages and forms, and only then repeat them on the live site. Update plugins and themes before core, one or a few at a time, and keep the backup until you are sure nothing is broken.

Steps to update WordPress safely

  1. Read what is waiting. Go to Dashboard > Updates. Note which items are core, plugins and themes. Expand the changelog of anything big and look for “breaking”, “requires PHP” and “database update”.
  2. Take a fresh backup. Back up files and database, and confirm the file exists in your remote storage or host dashboard. A backup from last week is not good enough for a site that changes daily.
  3. Create or refresh a staging copy. If your host has staging, use it. Otherwise follow our guide to creating a WordPress staging site. Make sure the copy is hidden from Google.
  4. Update on staging, in order. Plugins first, then the theme, then WordPress core. Do small batches of three to five, not everything at once, so you know which update caused a problem.
  5. Test the pages that matter. Open the homepage, a post, your main landing page, the contact form, the login, and for stores a product page, cart and checkout with a test order. Check on mobile too.
  6. Check for errors. Look at Tools > Site Health and, if you can, the PHP error log. A page that looks fine can still log warnings that become failures later.
  7. Repeat on live. Choose a quiet hour. Apply the same updates in the same order, and repeat the page tests.
  8. Keep the backup for a few days. Some problems only show up after caches expire or a scheduled task runs.

That is the full routine. The rest of this page covers what to do when an update goes wrong and which updates need extra care.

Why the order matters

Plugins and themes depend on WordPress core, and core depends on your PHP version. Updating plugins and themes first means they are compatible with the current core, and then the core update rarely surprises you. If a plugin’s changelog says it needs a newer WordPress or PHP version, update those two first.

What to do when an update breaks your site

White screen or “critical error”

WordPress usually emails the admin a recovery link. Use it to log in, then deactivate the plugin or theme named in the message. If you cannot log in, rename the plugin’s folder inside wp-content/plugins using your host’s file manager or SFTP. Renaming forces WordPress to deactivate it.

The site loads but something looks wrong

Clear every cache first: your caching plugin, the host cache and the browser. Layout bugs after an update are often just stale CSS.

A plugin conflict you cannot pin down

Switch to a default theme on staging, then deactivate plugins one by one until the problem disappears. Do this on staging, never on the live site.

Nothing works and you need to go back

Restore the backup you took before updating. Then pause: find out which update caused it, and report it to the developer or hold off on that update until a fix arrives.

Rolling back a single plugin is possible too, for example with a plugin such as WP Rollback, which installs an earlier version from WordPress.org. It only helps for plugins and themes hosted there, and does not undo database changes the update made, so a full restore is safer.

Updates that need extra care

  • WooCommerce and payment gateways. Major releases can change templates and database tables. Always test checkout on staging. Check our notes on fast WooCommerce themes if the update changes how your theme behaves.
  • Page builders and theme frameworks. These touch every page. Check several page types.
  • Custom or abandoned plugins. If a plugin has not been updated in over a year, plan to replace it.
  • PHP version upgrades. These are host-level changes. Test on staging first, then switch in the hosting panel.

Should you turn on auto-updates?

WordPress already auto-installs minor core releases, which are mostly security and bug fixes. For plugins and themes, auto-updates are a trade: you get fast security fixes, and you accept a small risk of a bad release going live untested.

A sensible split: allow auto-updates for small, well-maintained plugins that do one job, and handle big plugins, your theme, WooCommerce and anything that touches checkout by hand. Whatever you choose, keep daily backups running so a bad release has an easy way back.

How often should you update?

Security updates as soon as you can. Everything else in a monthly round. Our WordPress maintenance checklist shows where updates fit among the other regular tasks.

Prefer not to do this yourself?

Running this routine every month is exactly what our WordPress maintenance services cover: staging, testing, rollback if needed and a report afterwards. If your site is a store or earns leads, tell us about it and we will quote a fixed monthly fee.

Frequently asked questions

Update plugins and themes first, then WordPress core, unless a changelog says a plugin needs a newer core or PHP version. Then update those first.

On a small, low-risk site with a fresh backup, usually yes. On a store or a site with many plugins, update in small batches on staging first so you can tell which update caused a problem.

Use the recovery link WordPress emails you, or rename the plugin's folder to deactivate it. If that fails, restore the backup you took before the update.

Yes. Take a fresh backup of files and database before each update round and confirm it saved to storage away from your server.

Minor core releases update automatically by default. Major core releases, plugins and themes need your approval unless you switch on auto-updates for them.

Rather have someone do it for you?

We set up, fix and speed up WordPress and WooCommerce sites. Send us the URL and what is bugging you.

Get a quote See services

Keep reading