Skip to main content

How to Update WordPress Safely, Including Core, Plugins and Themes

  • By Md Sayfur Rahman
  • 5 min read
How to Update WordPress Safely, Including Core, Plugins and Themes

Updating WordPress is the most important thing you can do to keep your site secure. It is also the most common reason sites break. Because of this, many site owners delay updates for weeks or months, and that is exactly the gap attackers look for.

This guide explains why updates matter more than ever, the difference between core, plugin and theme updates, whether you should turn on automatic updates, and a simple routine that keeps your site secure without breaking it.

Why Updates Matter More Than Ever

Each update fixes bugs, and many also fix security holes that attackers already know about. Once a security fix is published, the details become public, and bots start scanning for sites that have not updated yet. The time between a fix and an attack has become very short.

Patchstack, a company that tracks WordPress security problems, publishes a yearly report on the whole WordPress ecosystem. Its latest numbers show how fast things now move.

Finding from Patchstack's yearly reportResult
New vulnerabilities found in WordPress plugins, themes and core in one year11,334
Increase compared with the year before42%
Median time before the most targeted vulnerabilities were first attacked5 hours
High-impact vulnerabilities attacked within 24 hoursAbout half
Vulnerabilities with no timely fix from the plugin or theme developer46%

The report also shows that most of these problems are in plugins, not in WordPress core. This changes how you should think about updates. Updating WordPress itself is important, but your plugins carry most of the risk, and some of them may never get a fix. A plugin that has not been updated for a long time should be replaced, even if it still works.

Core, Plugin and Theme Updates Are Not the Same

WordPress sites get updates from three places, and each one needs a slightly different approach. Understanding the difference helps you decide what can update automatically and what needs a check first.

Type of updateExampleRisk of breaking the siteHow to handle it
WordPress minor releaseA security and bug fix release like 6.x.1Very lowLet it update automatically
WordPress major releaseA new version with new featuresLow to mediumWait a few days, back up, then update
Plugin security updateA fix for a known vulnerabilityVariesUpdate as soon as possible
Plugin feature updateNew features or a redesign of the pluginMediumBack up, test the key pages after updating
Theme or page builder updateChanges to layout or design codeMedium to highTest on a staging site first if you can

WordPress has updated minor releases automatically since version 3.7, and that setting should stay on. Since version 5.5, you can also turn on automatic updates for each plugin and theme from the Plugins and Themes screens, and this leads to the question people ask most often.

Should You Turn On Automatic Updates?

There is no single right answer, and experienced site owners disagree. In a Reddit discussion in the WordPress community, most people chose a mixed approach based on how much they trust each plugin and how important the site is.

The advice that came up most often is practical and easy to follow.

  • Turn on automatic updates for simple, trusted plugins from well-known developers, such as backup or security plugins.
  • Do not auto-update page builders, caching plugins, WooCommerce and its add-ons, because their updates are more likely to change how the site looks or works.
  • Install security updates immediately, even if you usually wait, because the risk of waiting is higher than the risk of a small problem.
  • For other updates, waiting two or three days is reasonable, because bad releases are often fixed quickly.
  • Always have daily backups, so a bad update is a small problem and not a big loss.

For a personal blog with good backups, automatic updates for everything can be fine. For a business site or an online store, it is safer to auto-update only the low-risk plugins and check the rest yourself, or have someone do it for you.

A Safe Update Routine

A short routine once a week keeps most sites secure and stable. It takes around 15 to 30 minutes for a typical business website. The order of the steps matters, so follow them as written.

  1. Take a backup. Make sure you have a fresh backup of files and database, stored outside your hosting account.
  2. Read what is being updated. Check which plugins have updates and look for words like "security" in the changelog. Do those first.
  3. Update on staging when possible. If your host offers a staging site, apply major updates there first and check that nothing breaks.
  4. Update a few items at a time. On the live site, update plugins in small groups instead of all at once, so you know which one caused a problem.
  5. Check the important pages. After updating, open the home page, the contact form, the checkout and any page that brings in leads or sales. Submit a test form.
  6. Look at the site on a phone. Some layout problems only appear on mobile screens.

Want tested updates without the weekly work? Our WordPress maintenance plans include tested updates every week, visual checks after each update, and a free fix if an update we run ever breaks your site.

What to Do If an Update Breaks Your Site

Even with a good routine, an update will sometimes cause a problem. The most important thing is not to make it worse by changing many things at once. Most broken updates can be fixed in a few minutes.

If you can still log in, roll the plugin back to its previous version. The free WP Rollback plugin can do this for plugins and themes from WordPress.org. Then report the problem to the plugin developer and wait for a fixed version.

If the update caused the "There has been a critical error on this website" message and you cannot log in, follow our guide on how to fix the WordPress critical error. If nothing else works, restore the backup you made before updating. Our guide to a WordPress backup strategy explains how to make sure that backup is ready when you need it.

Updates Are One Part of WordPress Maintenance

Updates protect your site best when they are part of a full routine with backups, security scans and monitoring. Our WordPress maintenance checklist shows what to do every day, week and month.

If your site was already attacked before you could update, updating is not enough by itself, because the attacker may have left hidden files behind. In that case, follow our guide on how to clean a hacked WordPress site, or ask our team for WordPress malware removal.

Written by

Md Sayfur Rahman

A website that doesn't break, doesn't slow down, and doesn't get hacked. Sounds like a fantasy. But it's exactly what I build. After more than 14 years in the WordPress ecosystem, I've learned that a truly great website isn't just about how it looks on launch day. It's about how it performs under pressure, how easy it is to manage, and how secure it remains as time goes on.