Update WordPress to the current release on WordPress
Why it matters
WordPress.org itself lists the WordPress version this site shows as insecure, so it misses security fixes that are already published. Updating closes those holes; the newest release of your line is the smallest step, the current release the best one.
Staged change. Do this in stages and check each one before the next, so a mistake does not break your site or your mail.
The fix
- Back up the site, then open Dashboard, Updates and update WordPress. If the current release is a big jump, first update to the newest release of your line with wp core update --version=<that version>, then to the current one.
- Update every plugin and theme, remove those you do not use, and check the main pages of the site.
- Make sure minor and security updates install automatically. Remove a define('WP_AUTO_UPDATE_CORE', false) or define('AUTOMATIC_UPDATER_DISABLED', true) line from wp-config.php if there is one.
bash
wp core version wp core update wp plugin update --all wp theme update --all
Related
Scan your domain to see whether this applies to you.