Updating WordPress
Safely updating core, plugins and themes, with a backup and automatic updates enabled.
Updates fix security holes and bugs. Outdated WordPress, plugins and themes are the most common reason for hacked sites.
Before updating#
- Make a backup: in cPanel Files → Backup or a site copy in WP Toolkit. See also cPanel backup.
- For important sites test on a copy first: WordPress staging.
- Check that the PHP version is compatible with your plugins: Changing the PHP version.
Updating#
- Through WordPress: Dashboard → Updates. Select core, plugins and themes and click Update.
- Through WP Toolkit: open Software → WordPress Toolkit, click Updates and choose what to update. The tool can make a backup before updating, depending on your plan.
Automatic updates#
In Plugins → Installed Plugins you can turn on Enable auto-updates next to each plugin. The same applies to themes (Appearance → Themes). In WP Toolkit you can enable updates for all installations at once.
If the site stops working#
If you see a blank page after updating, read WordPress white screen. You can deactivate a problem plugin by renaming its folder in wp-content/plugins in File Manager. When needed, restore the site from a copy: Restoring from a backup.
Replace abandoned plugins that have not been updated for years with an alternative.
Vam je bil ta članek v pomoč?
Hvala za vaše mnenje! Potrebujete pomoč? Odprite zahtevek.
