How to fix outdated WordPress plugins and core (and close the vulnerability)
Update WordPress core, plugins and themes to their latest versions after taking a backup, and remove anything you no longer use. Old versions often contain publicly known security holes that attackers scan for automatically.
An outdated WordPress site is running core, plugin or theme code that has newer versions available. Many of those updates exist to fix security problems, so every week you wait, a known weakness stays open. This page explains how to check, update safely and keep it from happening again.
What the problem looks like
Most of the time you see nothing wrong, which is why it is easy to ignore. The signs are small:
- A number in the WordPress admin menu next to Dashboard > Updates, or next to Plugins.
- A yellow notice under a plugin saying
There is a new version of [plugin name] available. - A warning in Tools > Site Health about outdated plugins, themes or PHP.
- A plugin that shows a warning on its wordpress.org page such as not being updated in over two years.
The serious version of the problem is when the site has already been hit: strange redirects, spam pages in Google, new admin users you did not create, or your host suspending the account.
Why it matters
When a security fix is released for a plugin, the details of the flaw usually become public. Attackers then run automated scans looking for sites that still use the old version. Your site does not need to be popular or interesting to be found, it only needs to be unpatched.
For a business, a hacked site can mean lost sales, browser or search engine warnings, email blacklisting and a cleanup bill. Outdated code also breaks more often with newer PHP versions, which causes crashes and slow pages. Visitors see that as an unreliable shop.
How to check your site (free ways)
- Log in to WordPress and open
Dashboard > Updates. It lists core, plugins, themes and translations that need updating. - Open
Plugins > Installed Plugins. Look for update notices, and note any plugin you do not recognise or no longer use. Inactive plugins still sit on your server and can still be exploited. - Open
Tools > Site Healthand read the Status tab for critical and recommended items. - For each important plugin, check its page on wordpress.org: the Last updated date and the Tested with version tell you if the author still maintains it.
- Search the plugin name and version in a public vulnerability database such as Patchstack or WPScan to see if that exact version has a known issue.
- If you have command line access, WP-CLI can list what is outdated:
wp core check-update
wp plugin list --update=available
wp theme list --update=available
If you do not run a scan yourself, the outdated software check in week 31 of SiteMonday looks for this on your site and puts the findings in a ranked fix list. It finds and explains the problem, and the updating is done by you or your developer.
How to fix it
The safe order matters more than the speed. Do this on a quiet day, not five minutes before a campaign.
- Take a full backup of files and database. Use your host's backup tool or a backup plugin, and store a copy somewhere other than the web server. Never leave backup archives in a public folder (see exposed backup files).
- Use a staging copy if you can. Many hosts offer one click staging, depending on the plan. It lets you test updates without risking the live site.
- Update one thing at a time, or in small groups. Plugins first, then themes, then WordPress core is a common order, though some people do core first. Either is fine as long as you test between steps.
- Test the important parts: the home page, contact forms, login, search and, for shops, adding to cart and a test checkout. Stores should also read the WooCommerce update guide.
- Replace or remove what cannot be updated. If a plugin has been abandoned or removed from the directory, find a maintained alternative. Delete (not just deactivate) plugins and themes you do not use.
- Check licences for premium plugins. Paid plugins and themes often only update while the licence is active, so an expired key can quietly freeze you on an old version.
If an update breaks the site
Do not panic. If you cannot reach the admin, connect by FTP or your host's file manager and rename the plugin folder inside wp-content/plugins. That deactivates it and usually brings the site back. Then restore from your backup or contact the plugin author.
If you think the site was already hacked
Updating alone will not remove a backdoor that was planted earlier. Restore a clean backup from before the problem, update everything, change all admin and hosting passwords, and the database password (update DB_PASSWORD in wp-config.php to match, or the site will stop connecting), and delete unknown admin users. For a serious case, ask a developer or a security cleanup service.
Common platforms
The steps above are the same on any WordPress site, but hosts add their own tools. Where things sit depends on your plan and the host's current dashboard.
- WP Engine, SiteGround, Bluehost and Hostinger usually offer backups, staging and sometimes managed or automatic updates in the hosting panel. See the guides for WP Engine, SiteGround, Bluehost and Hostinger.
- Elementor and other page builders often need both the free plugin and the Pro plugin updated together, so check both. There is a guide for Elementor.
- For the general walkthrough, use the WordPress guide.
How to confirm the fix worked
Dashboard > Updatesshould say your site is up to date.- The Plugins list should show no update notices, and unused plugins should be gone.
- Site Health should no longer list outdated software as critical.
- Clear your caching plugin and any CDN cache, then reload the site and retest forms and checkout.
- Look up your key plugins again in a vulnerability database to confirm the installed versions are no longer listed.
- Watch for PHP errors for a few days. If
WP_DEBUG_LOGis on, errors appear inwp-content/debug.log.
How to stop it coming back
- Turn on automatic updates where it makes sense. WordPress can auto update plugins and themes from the Plugins list (look for the Auto-updates column). Minor core and security releases already update by default on most sites.
- Keep a weekly habit. Ten minutes on the same day each week beats a yearly panic. Check updates, backups and the list of admin users.
- Keep fewer plugins. Every plugin is extra code to maintain. Pick well maintained ones with recent updates.
- Keep PHP current through your host, since old PHP versions stop receiving security fixes.
- Automate backups and test a restore at least once.
- Assign an owner. Someone, whether you or a developer, should be named as responsible for updates.
Step by step for your platform
- Outdated WordPress core or plugins on WordPress
- Outdated WordPress core or plugins on WooCommerce
- Outdated WordPress core or plugins on Elementor
- Outdated WordPress core or plugins on WP Engine
- Outdated WordPress core or plugins on SiteGround
- Outdated WordPress core or plugins on Bluehost
- Outdated WordPress core or plugins on Hostinger
Questions
Is it safe to update all WordPress plugins at once?
It is quicker but riskier, because if something breaks you will not know which plugin caused it. Take a backup first, and update in small groups or one by one on a site that earns money.
How often should I update WordPress plugins?
Check at least weekly, and update promptly when an update is marked as a security fix. Automatic updates can handle low risk plugins between checks.
Do inactive plugins still need updating?
Yes. Deactivated plugins remain on the server, and their files can sometimes be reached and exploited. Delete anything you are not using.
What if a plugin has not been updated for years?
Treat it as a risk. Look for a maintained alternative, and remove the old plugin once your site no longer depends on it.
Will updating plugins hurt my SEO or design?
Updating itself should not, but a bad update can break layouts, forms or checkout, which does hurt. Testing after each update, ideally on a staging copy, avoids this.
Can I fix this myself if I am not a developer?
Usually yes for routine updates, as long as you have a backup and test afterwards. Ask a developer if the site is a shop, uses heavy customisation, or has been hacked.