Written by on

WP Q&A: When Should I Update WordPress?

Hello again everyone. This is Chris Jean, iThemes’ very own Code Monkey. Today, I’m going to do my best to help you prepare for and plan WordPress upgrades.

When should a person upgrade their WordPress blog? Frankly, this is not an easy question to answer.

The answer is completely dependent upon what type of site you are running, how important it is to ensure maximum uptime for the site, and how skilled you are at fixing problems like a failed WordPress upgrade. Even after determining a safe amount of time to wait before upgrading, there are a number of things that you should do before upgrading.

In this post, I hope that I can not only provide you with a base guideline for when you should upgrade but also how you should upgrade.

WordPress upgrades from an iThemes perspective

As a new WordPress version release approaches, we actively work to ensure that there aren’t any problems with our themes or plugins that would cause them to fail when the new version comes out. Personally, I run the latest development code for weeks on my personal sites and on my development sites to try my best to catch any and all bugs or potential problems.

So far, the 2.8 release has been kind to us. The internals of WordPress really didn’t change, so we didn’t have to update any of our code specifically for the new version release.

However, this isn’t to say that there will not be any problems. Problems always have a way of appearing out of nowhere. As always, if you find a problem with your theme after a new version release, please stop by our support forum and let us help you out with it.

Even though we have yet to find any issues related to our themes with the 2.8 release, some customers have still had issues after the new version release. So far, all of these have been caused either by plugins that have not been maintained or by custom code running on the customer’s site that was not tested on the new version. Please keep in mind that themes aren’t the only source of potential problems as a site’s plugins and customizations can also cause upgrade woes.

So, this brings me to some basic steps that should be followed to give you the best chance at a safe upgrade on your site.

Five things to do before upgrading WordPress

Now that WordPress is so easy to upgrade, you can simply click a button and let the software take care of it for you, it becomes very easy to forget that this process can fail. If the upgrade does fail, your site could be down for hours or days or you could lose valuable data from your site (posts, pages, etc).

Doing the following won’t guarantee that you won’t have problems, but adhering to these recommendations will go a long way toward minimizing the risks of upgrading and will allow you to recover better in case of lost data.

  1. Make a backup of all your site data – Even though WordPress itself tells you to backup your data before upgrading, most people don’t. This is just inviting disaster as most people don’t have any backup strategy and losing any data means that it is lost forever.

    The easiest thing to do is go to Tools > Export and save an XML export of your site’s data. This backup isn’t a complete backup, but it does have all your site’s posts, pages, comments, custom fields, categories, and tags. This is the most valuable data on your site, so at the very least, save this export file before doing the upgrade.

    To get a more complete backup of your data, I recommend using the WP-DB-Backup plugin. This plugin allows you to create a backup of all your data, including any data that your plugins could have stored on your site.

  2. Upgrade all of your plugins – Most plugin authors work hard to ensure that their plugin will not break your site. When a new WordPress version nears release, they will update their plugin as needed to ensure that it still works and that it won’t break your site. By upgrading your plugins first, you give yourself a better chance of avoiding a problem caused by plugins after the site upgrade.

  3. Visit plugin and theme author websites – Beyond simply updating your plugins, visit your plugin and theme authors’ sites. If the code is still being actively developed, the author should have information about compatibilty with the new release. If there aren’t any updates, contact the author and ask them directly.

    When dealing with a plugin, if you can’t get a confirmation from the site or the author, I highly recommend that you disable the plugin before upgrading. You should also see if you can find anyone else running the plugin to see if they have any issues running the plugin on the new version.

    If your theme is no longer actively maintained or was a custom-built theme, test out the theme on a test site running the new version of WordPress first before upgrading your live site. I have more information on test sites toward the end of the post.

  4. Disable all plugins – You’ve updated your plugins and ensured that they will work with the new version. Before doing the upgrade, you should disable all plugins to ensure that they will not cause any issues during or after the upgrade.Once the upgrade is complete, reactivate the plugins one at a time. If activating one of the plugins causes the site to break, go and delete that plugin’s folder inside wp-content/plugins. This will force the plugin to disable and should give you access to your site again.

  5. Ask yourself if you need to upgrade now – Getting back to the main topic, you really should consider if you are 1) prepared enough for the upgrade and 2) your site is ready for the upgrade. I’ll talk about this in more depth in the next section.

How important is your site?

Your site is a source of income for you, has very high traffic, or could be severely hurt by any downtime. A new WordPress version just came out. Should you upgrade right now? Frankly, if you can’t accept any amount of downtime, wait a minimum of two weeks after the new version comes out. This will give the WordPress developers enough time to identify and fix any major issues that were found immediately after release. The same goes for giving your plugin and theme developers enough time to ensure that there aren’t any problems.

If your site is just a hobby site or you don’t mind having some downtime, go ahead and update as soon as you are ready. You could end up finding a problem that helps out the community.

To hit the main point again: If you rely on your site and maximum uptime is important to you, wait at least two weeks before upgrading to a new version of WordPress.

Safest choice: run a test site

I’m a huge fan of test sites. I actually have numerous test sites. I have a primary one that I use to test any code that I plan on moving over to my personal website. I have a primary development test site that I use to build and test new code for iThemes. I also have a running version of most of the major versions of WordPress.

This type of solution is overkill for most people, and I really have a hard time recommending it to the average user. However, I do think that every person who runs a WordPress site that needs to have maximum uptime should have at least one test site. What makes a good test site? I’m glad you asked.

  1. The test site should reside on the same server as your live site. This will ensure that differences in core software on the servers won’t create unpredictable results. In other words, it creates a level playing field that makes your testing environment simulate your live site much better.

  2. Ensure that your test site is a duplication of the live site. The data isn’t what is so important here; rather, you need to have the same version of WordPress installed complete with exact copies of the theme and every plugin. The theme and all active plugins on the live site need to be activated on the test site.

  3. If you are concerned about people stumbling onto your test site, simply protect the site with a username and password. You can do this by creating .htaccess and .htpasswd files and then loading them onto your test site. Instructions can be found here.

Once you have your test site up and running, always run any upgrades, new plugin installations, theme modifications, etc through it first. If your test site breaks, breathe a sigh of relief that it isn’t your live site. If your test site keeps running, you have as good of an assurance as you’re going to get that your live site should work just fine after the change.

Closing thoughts

For those of you that don’t like the massive amount of information I’ve thrown up here and just want quick answers, here’s a summary:

  1. Always backup your site data in Tools > Export before upgrading WordPress.

  2. Always update all of your plugins before upgrading WordPress.

  3. If your site’s operation is critical for your business, reputation, or because you don’t want the hassle, wait at least two weeks after a new version release before upgrading WordPress.

  4. The best way of knowing what will happen to your site after an upgrade is to make a personal test site that has all the same plugins and theme activated and running the upgrade on the test site first.


  1. Good post thanks. I took the upgrade to 2.8 because I can’t help myself upgrading to the latest of pretty much everything. The only thing that broke was the ability to edit widgets…I’ve now decided to be slightly more sensible and at least backup before taking the plunge next time.

  2. Excellent breakdown. I might also add it is worth backing up for theme customizations/plugins via FTP in addition to the WP DB Backup just to be safe, particularly in one-click upgrade situations at your host.

  3. Thanks for writing up this post.

    I always play with test sites before touching my main sites. I like using the WP DB Backup plugin as well to get everything.

    I’m really looking forward to the theme installer in 2.8

    Website Creation Workshop

  4. Heh.. I wonder why I haven’t backed up a thing before updating, although I run over 30 plugins, ~ 5 of them self-developed =) haha.. Still haven’t checked 2.8 compatibility on some of them, but the major two were updated during the weekend after the release. Works cool.

    Anyways, good article.

  5. I use Automatic Update plugin that forces you to backup everything before upgrading. In the past, I had usually waited a while to upgrade to any new version, but the last two times I didn’t and had no trouble. THIS TIME I did, dang it. My compose area is all messed up and I can’t see what I’ve written. Just some red lines. BTW, I have a suggestion in for WP to add an installation date to the plugin menu. I know when my plugins are up to date, but I want to know when I installed them too. They are considering it for 2.9. :)

  6. What an excellent post! This should be mandatory reading for anyone who is using WordPress. Upgrades can be extremely painful and this pain tends to be magnified when they are implemented blindly. Taking the simple steps mentioned above would help prevent a lot of avoidable web site problems.

  7. I have to say I don’t really like this sort of posts.

    While all this is sound advice that just applies anytime (backup, keeping plugins up to date, etc), it makes upgrading the core look like a risky, tedious and hazardous operation.

    Come on. All I’ve done for the past 5 years with WP was simply unpack an archive, that’s all. Once in 5 years, with 2.3 and the new taxonomy structure, it broke some functionalities of my theme.

  8. @Ozh: I can’t help but see your comment as short-sighted and focused solely on your own perspective rather than on the knowledge and understanding of the general WordPress user. While you understand that frequent backups and updating plugins is the smart way to run your blog, most people just expect everything to work and don’t know what tasks are required to run a website successfully.

    I could make a general post about what people should do each day, week, or month, but most people would ignore that. If I make a post about things to do before upgrading WordPress (as I have), people will take notice (and they have).

    If something goes wrong on your site after an upgrade, you know how to fix it since you probably wrote most/all of the code that runs on top of core on your site. If something goes wrong on an average WordPress user’s site after an upgrade, they wouldn’t know where to start to fix their site.

    While core itself will rarely cause upgrade problems, there are vast numbers of poorly-maintained themes and plugins that will cause problems if you try to upgrade. I’ve seen it dozens of times on sites that I’ve helped people with. Even if the plugin/theme isn’t poorly-maintained, failure to update said plugin/theme would be just the same.

    I encountered each of these problems caused by upgrading to 2.8 this past weekend at WordCamp Dallas.

    A number of users had plugins that failed on 2.8. Each time, after removing the plugin’s folder, the site would work again. Simple, but even many long-term WordPress users wouldn’t know how to diagnose this nor fix it.

    One person I helped was running an older version of the Magazine Basic theme. It worked properly pre-2.8, but it caused problems after updating to 2.8. Come to find out, the version being run has a horrible bug where it actually uses the $post variable as a standard internal variable for the theme. I had to modify the theme’s code to make it function properly. This bug only became an issue after the upgrade to 2.8.

    There were also a number of users that had issues with core after the upgrade. They had the disappearing TinyMCE issue. It was easily fixed each time by running Tools > Upgrade > Re-install Automatically followed by clearing all affect browsers’ caches.

    I’ve rambled too much. The point is that upgrading core is not risky, tedious, or hazardous; I don’t believe that I’ve suggested that. However, it is not something that should be done on a whim without preparation. While most times it will “just work”, the first time it doesn’t will cause frustration, lost time, and possibly even lost revenue.

  9. Chris, I see your point (didn’t want to upset btw, as I’ve said, all this is really sound advice).

    Maybe what’s lacking (IMO) to all the “How To Upgrade” guides is a line that would say something like “you know that shit can happen, but 99% of the times upgrading is painless. What I’m going to tell you is to help you deal with the remaining 1% in case it happens”

    I think people need to trust WP and be confident with their software, so we (“we” as in “not the average user who has no clue of what has gone moo when something break”) need to make people believe they can trust it.

    Just consider for instance your very first line of your (again, very wise) article: “When should a person upgrade their WordPress blog? Frankly, this is not an easy question to answer.” As the average user, I’d go “wow, scary, i’m not going to upgrade then, it’s working fine enough with my old version”

    I just think upgrade guides need more positiveness.

  10. Not a problem Ozh. I wasn’t upset; rather, I just really thought that your perspective was more focused on the way developers see things rather than end-users. Since you are a very reputable name in WordPress development circles, I certainly didn’t want someone reading your comment and then ignoring everything that I posted.

    The post was written because many of our clients specifically asked us the question. I said that it wasn’t an easy question to answer because it’s not. The fact that it took me so many words to answer the question should speak to that.

    My post may not apply to who you see the typical WordPress user as, but we have a large number of business professionals that rely on us to prepare them for success with WordPress. On the subject of upgrading WordPress, I believe I did my best to do just that with what I posted.

    I would imagine that if some big company ran a site with WordPress and they asked you for an upgrade strategy, you wouldn’t respond with: “Don’t worry about it, it usually works just fine. Call me if you have a problem.” If you did respond that way, they had better look elsewhere for professional opinions.

  11. It’s funny, I was just asking myself the question of when I should upgrade the other day. As usual, I did my backups and immediately upgraded. But now, with your advice, I will take the extra steps to prepare my plugins as well.

    I like what Ozh said about stressing just how darn reliable WP is, but this is great advice for those very rare challenges that a WP user can face.



Sale Ends Today! Save 35% OFF BackupBuddy with coupon code BACKUPWP35