Top methods for keeping your WordPress installation and WordPress plugins up-to-date
Keeping your WordPress installation and plugins updated is an important yet annoying task. Following and the news on WordPress releases, monitoring the versions for the dozens of plugins installed, and then going through the upgrade can be very time consuming, especially if you're running a few blogs. This post includes a few tips and ideas on how to make the WordPress installations and plugins upgrade easier.
WordPress up to date using a plugin
Consider using the InstantUpgrade Plugin. Although it might be scary to have some program do the whole upgrade automatically upon a new release - it usually works quite well :
There’s no doubt about it: Upgrading is annoying. You must download the new version, unpack it, delete the old files, copy in the new files, run an upgrading routine.
Now for WordPress users, much of this is obsolete. The InstantUpgrade plugin provides is a easy and safe way to upgrade your WordPress automatically with a single click! (It is to say that it needs some preparations, though.) You can upgrade to the latest WordPress version, or you can upgrade to a version of your choice.
WordPress up to date using a PHP script
Aaron Brazell of Technosailor wrote a PHP script that will take care of the upgrade for you. Use this with extreme care. You can either execute as any other PHP file, running PHP from your shell or using a PHP-shell, executed as a cron job etc.
I mentioned before that I run WordPress trunk and that every day, the auto upgrade script runs, upgrades this blog and sends me a detailed email regarding the upgrade. Not only does this help me keep track of changes from revision to revision without having to go browsing the repository, it gives me a handy reference in case I have to roll back.
WordPress up to date using a shell script
The script is very simple:
- Download the latest WordPress archive from the website
- Uncompress it to a temporary location
- Migrate all of the themes, plugins and uploads
- Copy over wp-config.php
- Back up the old version
- Move the new version into the proper folder
Not exactly right? try Harper's script-
So I was thinking, I hate upgrading my wordpress. I hate it. I agree 100% with Matt Cutts about how wordpress has one of the most clunky and cruft creating upgrade process. So annoying. And it gets even more annoying when you are doing it with 50 blogs. stupid friends. hah. So awhile ago I created this script which basically lets me just execute a small number of commands to upgrade a wordpress blog.
Or maybe Techtites' :
For those who have shell access upgrading WordPress can be a lot less painful and this guide hopes to set you establish just that. I upgraded three installations in less than fifteen minutes. It would have been faster but I am sure I saved a great more time had I to do it the hard way!
Other small WordPress upgrade issues
A few additional suggestions :
- Whatever you choose to do, it is recommended that you run an automated backup of both your WordPress database and files.
- Don't use Fantastico for automated upgrades, or better yet - don't use Fantastico at all.
- WordPress.org recommends that you disable all the plugins before every upgrade. To quickly do that use "1 Click to Stop & Start Plugins".
WordPress plugins up to date
Now plugins is where it gets REALLY complicated. The Update Manager plugin used to do a really good job, though recently wp-plugins.net started playing around with turning their API off/on:
Update Manager is a new WordPress admin plugin that helps you keep your plugins up to date. This helps to ensure you always have all the latest bug fixes, security patches and gadgets at your fingertips.
If that's not working, try PlugInstaller WP plugin which uses a wp-plugins.net alternative method:
PlugInstaller is a WordPress plugin-management plugin that eliminates the need to download a plugin archive, upload it to your FTP server and unpack it manually. With PlugInstaller, you can easily enter a plugin URL (e.g. directly from a plugin repository website like the WordPress.org plugin repository) within the admin interface which is in turn automatically downloaded and installed on your server or you can upload a file from your local file system which is also automatically installed.