Most hacked WordPress sites ran a plugin with a known, published security hole. Updating is the single most effective security habit. Yet many site owners put updates off, because once, an update broke something. Both fears are reasonable. A routine handles both.
Why updates break things
- Plugin conflicts: two plugins change the same thing, and a new version of one changes how.
- Theme templates: shop and page-builder plugins change their templates, and a theme’s old copies no longer fit.
- PHP or WordPress versions: a new plugin version needs a newer PHP or WordPress than the site runs.
- Caching: the update is fine, but visitors still get old cached CSS or JavaScript.
A routine that works
1. Back up first
Always. A database backup at least, plus the plugin as it was. With Keel Pro, Back up before every update does it automatically before WordPress, a plugin or a theme is updated, also from the Hub. Without it, run a manual backup first: see Backups.
2. Update often, in small steps
Updating weekly means a few updates at a time. When something breaks, you know which one. Updating twice a year means forty at once and no idea which caused the problem.
3. Security updates first, and fast
When a vulnerability scan flags a plugin, update it the same day. Keel’s free vulnerability scan checks four times a day and emails you when something new turns up.
4. Big updates on a staging copy
Major versions of WooCommerce, page builders, membership plugins and WordPress itself deserve a test on a staging copy first. Many hosts create one with a click.
5. Check the important pages afterwards
After updating, open a few pages logged out: the home page, a key landing page, and on a shop, the cart and checkout with a test product. Try the contact form. Five minutes catches most problems before customers do.
Automatic updates: yes, for some
WordPress can update plugins automatically. A sensible split:
- Automatic: small, well-maintained plugins that do one thing, and WordPress minor (security) releases.
- By hand, with a check: your shop, page builder, membership and form plugins, and major WordPress versions.
When an update breaks something
- Do not panic, and do not start changing other things.
- Find the update that caused it: the activity log shows what was updated and when.
- Roll back that plugin: from the backup made before the update, or with a rollback tool.
- If wp-admin itself is broken, rename the plugin’s folder in
wp-content/pluginsby SFTP to deactivate it. - Clear every cache: your cache plugin, the host’s cache and the CDN.
- Report the problem to the plugin’s developer, with the error message if there is one.
Keel’s crash alerts email you the error, file and line, and which plugin it comes from, the moment a page fails: see Crash alerts.
Managing many sites
Agencies with dozens of sites cannot click through each one. A central hub that shows which sites need which updates, and runs them with a backup first, turns a day of work into an hour. See Managing many WordPress sites.
Common questions
Should I wait a few days before updating?
For feature updates of large plugins, waiting a few days lets others find the bugs first. For security updates, do not wait.
Is it safe to update everything at once?
It usually works, but when something breaks you do not know which update caused it. Update the important plugins one at a time.
What if a plugin has no updates for years?
Treat it as abandoned. Look for a maintained replacement, especially if it handles logins, forms or payments.