Update WordPress¶
Use this page when updating WordPress core, plugins, or themes. Create a backup first, review the riskier components, and use WP-CLI from SSH when the update needs a precise command-line workflow.
Before You Update¶
- Create a backup.
- Confirm the site works before you start.
- Review whether the site has high-risk features such as WooCommerce, memberships, bookings, forms, or custom code.
- If the update is large, test on a staging copy first.
Do not update a broken site blindly
If the site is already showing errors, fix or document the existing problem before updating. Otherwise it can be harder to tell what changed.
Update From WordPress Admin¶
- Sign in to WordPress as an administrator.
- Open
Dashboard>Updates. - Update WordPress core if an update is available.
- Update plugins and themes.
- Test the public site and admin dashboard.
During some updates, visitors may briefly see a maintenance message. That is normal as long as it clears after the update finishes.
Update Plugins And Themes Safely¶
For routine updates, updating several small plugins together is usually fine. For important plugins, update one at a time and test afterward.
Pay extra attention to:
- WooCommerce and payment plugins.
- Form, booking, and membership plugins.
- Page builders.
- Security and caching plugins.
- Custom or privately maintained themes.
Review plugin and theme management
Automatic Updates¶
Automatic updates can be useful for low-risk plugins and themes. They are less ideal when the site has ecommerce, membership, custom code, or plugins that need manual testing.
To enable automatic updates from WordPress:
- Open
PluginsorAppearance>Themes. - Find the item you want WordPress to update automatically.
- Click
Enable auto-updates. - Keep backups in place and review the site periodically.
Update From SSH With WP-CLI¶
Run update checks from the WordPress document root:
wp core check-update
wp plugin list --update=available
wp theme list --update=available
Apply updates one component at a time on important sites:
wp core update
wp plugin update plugin-slug
wp theme update theme-slug
Review wp-toolkit and WP-CLI update options
If An Update Fails¶
- Do not repeatedly retry the same update without changing anything.
- Check whether you can still access WordPress admin.
- Restore from backup if the public site is down.
- Disable the recently updated plugin or theme if that appears to be the cause.
- Contact Fused if you need help restoring access or reviewing the account.
Related Guides¶
-
Backups
-
Staging
-
wp-toolkit