Keeping WordPress, plugins, and themes updated
Why WordPress updates matter, how to update safely, and how to set up automatic updates. Includes backup-first workflow and what to do when an update breaks ...
On this page
Outdated WordPress installations, plugins, and themes are the leading cause of hacked websites. Security vulnerabilities are publicly disclosed when patches are released-any site running the old version becomes a target. Keeping everything updated is the single most effective security measure you can take.
Why updates matter
- Security patches-most updates include fixes for known vulnerabilities
- Bug fixes-stability improvements that prevent errors
- Performance improvements-newer versions often run faster
- Compatibility-staying current avoids PHP compatibility issues as servers upgrade
Before you update
- Create a full backup (files + database) via cPanel Backup or Backuply
- Check plugin changelogs for major version updates-some may have breaking changes
- If you have a staging site, test updates there first
Updating WordPress core, WooCommerce, or major plugins without a backup is risky. A conflict with a theme or another plugin can break the site-with a backup you can restore in minutes.
How to update
From the WordPress dashboard:
- Log in to WordPress admin
- Go to Dashboard → Updates
- Click Update Now for WordPress core if available
- Select all plugins → click Update Plugins
- Update themes (if any need updates)
Via WP-CLI (VPS only):
wp core update
wp plugin update --all
wp theme update --all
Automatic updates
WordPress can update itself automatically. Configure in wp-config.php:
// Auto-update minor releases (e.g., 6.5.1 → 6.5.2)
define('WP_AUTO_UPDATE_CORE', 'minor');
// Auto-update all core releases including major versions
define('WP_AUTO_UPDATE_CORE', true);
// Disable all auto-updates
define('WP_AUTO_UPDATE_CORE', false);
For plugins, use the Enable Auto-updates toggle in Plugins → Installed Plugins per plugin, or use the Automatic Updates checkbox. For most sites, auto-updating minor security releases is safe; review major plugin updates manually.
If an update breaks the site
- Restore your backup from before the update (fastest fix)
- Or: identify the problematic plugin by deactivating plugins one by one via FTP (rename the plugin folder in
wp-content/plugins/) - Check the PHP error log in cPanel → Errors for specific error messages
- If WordPress admin is inaccessible, use the white screen fix guide
Need managed WordPress hosting?
Run WordPress on UnderHost managed hosting with performance tuning, SSL, backups, security guidance, and expert support.





















