WordPress 2.5.1 Upgrade

I finally got around to upgrading this site to WordPress 2.5. Since it coincided with the release of WordPress 2.5.1 I went straight to this version even though all my testing was with the earlier 2.5.0 version. The upgrade itself was extremely straight-forward.

Earlier in the week I made sure all my plugins were at the latest version so I wouldn’t have to worry about them during the actual upgrade. Except for the Popularity Contest plugin they all worked under WordPress 2.3.x and WordPress 2.5.

The one plugin that I had to change for WordPress 2.5. (and 2.5.1) was Popularity Contest. I used the instructions found at Blogvaria for the minor modifications. Following the link for full details but the short version is to change line 59 from require('../../wp-blog-header.php'); to require('../wp-blog-header.php');.

I use the Sandbox theme and I’d also have to upgrade it during the upgrade to WordPress 2.5. I modify a couple of the theme’s files so I had also prepared those ahead of time. This was a simple cut and paste.

Once everything was ready I did another set of backups and enabled the Maintenance Mode plugin to block traffic to the site. I then deactivated all the other plugins and started the upgrade and followed the regular WordPress upgrade instructions. Once the WordPress files were copied I copied the new theme files and the updated Popularity Contest plugin before running the WordPress upgrade script to upgrade the database. Once that was done I enabled all the plugins one at a time to make sure they started OK.

The entire upgrade took less than 30 minutes and I didn’t get burned by testing on WordPress 2.5.0 and upgrading to WordPress 2.5.1.