PDA

View Full Version : Updating Wordpress



the goat
08-25-2008, 03:09 PM
I am currently running version 2.5 on my wordpress sites. Now that 2.6 is available I want to update but I have heard stories of customized sites having trouble with upgrades.

I have done a bit of code manipulation to them so my plan is to back up all the current files on my hard drive and then upgrade. This way I can easily revert the sites back if need be.

I figured I would ask a few questions first though:

1. Is it worth it to upgrade? I mean if the site is working fine and has the features I want, what is the point?

2. Is there any way to tell in advance if the customizations I have done will affect the site after an update, is there a list of changes published anywhere?

vangogh
08-25-2008, 06:17 PM
You don't have to upgrade with each new version. Sometimes there are security updates that you should make sure to update. Often it's only a file or three and if you search "WordPress version# security update" or similar usually someone has a list of the files to upgrade. Sometimes the WordPress site itself will have a list.

Sooner or later you'll probably want to upgrade, but if it ain't broke don't fix it.

I don't know if there's a good way to tell in advance what an upgrade may or may not break. I have a development server set up on my laptop so I can upgrade there and see if something breaks before upgrading on the live server.

In general things shouldn't break unless you've hacked the core WordPress files. If your changes are to your theme or to some plugins there shouldn't be an issue since those files aren't going to be replaced. Plugins will be more likely to stop working after an upgrade. Sometimes you may want to wait a couple of weeks to let others report on what isn't working anymore. You can check the sites of the plugins you have installed to see if anyone has reported problems.

What code have you manipulated? Is it just your theme or did you manipulate files outside of the themes and plugins folder?

the goat
08-25-2008, 06:45 PM
I have only done cosmetic code changes in the theme editor so I guess I am good there. I am sort of a plug in junkie though. I really don't feel the need to update it for any new features, I just wasn't sure how much of a security risk it is to run older versions.

Thanks for the info!

vangogh
08-25-2008, 07:16 PM
If you only changed the theme you shouldn't have to worry. Those files aren't getting updated, though there's always a chance something in a theme might not work. It shouldn't affect the cosmetic changes.

Odds are the plugins will work fine, but every so often you need the developer to update their version.

By the way one of the easiest ways to upgrade WordPress is by using the Automatic Upgrade plugin (http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/). It will pretty much do the entire upgrade for you with a few clicks on your end.

It will temporarily disable your blog and put up a notice that the blog is being upgraded, it deactivates your plugins, installs all the files, and checks the database to see if it needs to be updated. Then it turns everything back on.

The one thing I've noticed though is that it sometimes doesn't reactivate your plugins and you may need to turn them back on yourself.

Overall the whole process is about 5 minutes to upgrade. Very easy and painless.

the goat
08-25-2008, 11:25 PM
Wow great plug in, thanks for the link. Everything went nice and smooth.

vangogh
08-26-2008, 12:54 AM
It's really nice isn't it. Probably one of the best plugins for WordPress.

KristineS
08-26-2008, 08:21 AM
Definitely a good plug in. It allows me to upgrade my blogs myself instead of shouting for you, Vangogh.

vangogh
08-26-2008, 11:50 AM
I knew you'd like the plugin Kristine. It makes upgrading to the latest version so easy

KristineS
08-26-2008, 12:29 PM
It really does. Best plug in I've found so far.

Marcomguy
08-26-2008, 04:08 PM
I had seen that automatic update plugin a couple of weeks ago, but I got scared off by all the comments from people who'd had bad experiences with it.

I know I shouldn't be, since everyone here is raving about the plugin, and the Wordpress comments are probably disproportionately weighted by all the dissatisfied customers who decided to vent.

So far, I don't see any need to update, so I'm staying put.

vangogh
08-26-2008, 05:35 PM
I've seen occasional problems and I would guess they relate to sites that are using plugins that stop working or who have hacked into the WordPress core. I've done both in the past, though was aware what I had changed so I was able to put my changes back. I'm sure there are some who had someone else work on their site and didn't realize a change had been made.

No reason you have to upgrade WordPress with each new version, though it is a good idea to see if any of the changes are specific security fixes. When that happens it's easy enough to grab the couple or three files that are security related and replace the old with the new.

KristineS
08-26-2008, 05:35 PM
I've used the plug in several times, Marcomguy, and I've never had any problem. Since I have a tendency to cause issues with my blogs, I'm going to go out on a limb and say if I can use it successfully it should work for everyone.

vangogh
08-26-2008, 05:47 PM
You causing issues with your blog? I hadn't noticed. :)

KristineS
08-26-2008, 08:39 PM
Very funny, wise guy!

I'll have you know I just added the forum badge to both my blogs and I didn't blow anything up.

So there! :p

vangogh
08-26-2008, 09:25 PM
Sorry. I couldn't resist.

KristineS
08-26-2008, 10:18 PM
I'm fine with it. I have yelled for you often enough when I screwed something up. You're allowed a little teasing on occasion.

the goat
08-27-2008, 02:05 AM
Worked like a charm for me... and I am a professed plugin junkie!

orion_joel
08-28-2008, 01:03 AM
I installed wordpress with Fantastico, was able to update with the link in Fantastico. It was pretty easy, but the only change i had was a theme, and that wasn't affected in anyway. The only time that i think you may run into a problem with the theme is if you are using the default theme that comes with wordpress and modified it. As some other scripts i have updated, do overwrite the primary theme, but usually if you are running with a theme that is not included with the default install you should be fine in that respect. Unless it calls anything that has changed in name or reference with the new version.

As for the plugin i think it would be fair to assume that generally a lot more people will comment about a bad experience then that of a good experience. Just like any customer based business, you get a lot more feedback about poor customer service then good.