Update WordPress
- On the WP Toolkit page, scroll to the WordPress site that you'd like to update.
- Under the Status section next to WordPress, click on the link Update to X.Y.Z (version number).
Please note that this link only appears if you don't have the latest WordPress version installed. If it doesn't appear, then you can skip the next steps and return when a new WordPress version is released.- Tick the checkboxes Select All Updates and Restore Point.
This will assure that not only WordPress is updated, but also all installed plugins/themes.
Creating a restore point is highly recommended so you can revert in case an update breaks your site. - Click on the "Update" button and wait for the process to finish.
- Tick the checkboxes Select All Updates and Restore Point.
- Check if your WordPress site still functions correctly. If you notice any issues, you can restore the site from the backup.
Enable Auto-Updates and Smart Update
Updating your site can be a boring and frustrating process, and unfortunately something that is often forgotten, but always very important for your site's security. The good news is that this process can be automated. Even better news is that if an update would break your site WP Toolkit can recognise this and skip the update through its Smart Update feature. This eliminates almost any reason to postpone updates.
Smart Update tests WordPress updates without affecting the production site. It clones your site, updates the clone, and runs a number of checks to see if updates have broken anything. You can review test results and check the test site itself to make an informed decision about updating your production site.
To enable Automatic Updates and/or Smart Update:
- On the WP Toolkit page, scroll to the WordPress site that you'd like to enable automatic updates
- Click on the Autoupdate settings link
- Next to Update WordPress automatically, select at least Yes, but only minor (security) updates
- Next to Update plugins automatically, select at least Defined individually, but security updates are autoinstalled
- Next to Update themes automatically, select at least Defined individually, but security updates are autoinstalled
- Click on the OK button
- Enable Smart Update (recommended, but optional)
Every 24 hours, WP Toolkit will check for updates and installed the type of updates that you have enabled. Unless you have Smart Update enabled, it's recommended to always have a recent backup available, just in case an update breaks your site.
Notes about Smart Update:
- Smart Update tests WordPress updates without affecting the production site.
- It clones your site, updates the clone, and runs a number of checks to see if updates have broken anything.
- The updates are never applied on the production site if the automated regression testing tool determines that your site is broken after the test update run.
- In case an issue is detected during the automated regression testing:
- Smart Update sends an email notification to the cPanel contact email.
- You can review test results and check the test site itself to make an informed decision about updating your production site.
- Your production site is not affected until you either confirm the update (manual update) or the regression testing introduces no (new) issues (automatic update).
- Since Smart Update creates a clone of your site, you must assure that your cPanel account always has at least 50% free disk space available, otherwise, Smart Update will fail and your site will remain outdated.
Updated by SP on 20/01/2023