Apparently there’s a plugin that does what I’ve been waiting for WordPress to incorporate all this time: WordPress Automatic upgrade:
WordPress Automatic Upgrade allows a user to automatically upgrade the wordpress installation to the latest one provided by wordpress.org using the 5 steps provided in the wordpress upgrade instructions.
WordPress automatic upgrade upgrades your wordpress installation by doing the following steps.
- Backs up the files and makes available a link to download it.
- Backs up the database and makes available a link to download it.
- Downloads the latest files from http://wordpress.org/latest.zip and unzips it.
- Puts the site in maintenance mode.
- De-activates all active plugins and remembers it.
- Upgrades wordpress files.
- Gives you a link that will open in a new window to upgrade installation.
- Re-activates the plugins.
The plugin can also can be run in a automated mode where in you do not have to click on any links to go to the next step.
Sweet! I thought the automatic plugin update was really neat already. If this works, then it’ll be sweet! Just make sure you haven’t actually modified WordPress code or your upgrade would overwrite it. Previously, I went and modified WordPress core code to get my collapsible sidebar menus, since that wasn’t exposed in the theme layer. However in my recent upgrade, I forwent all that and only made slight changes to the theme so it’d be easier for later upgrades, so upgrading won’t have to be a multi-hour process and tons of breaking changes. I’ll also be able to upgrade more frequently instead of every 6 months to 1 year.
Next thing they need to add is the ability to download and install new plugins on the fly. Currently I have to download the zip file and upload it myself. But given that they can already automatically upgrade plugins to the latest version, I’d think adding a new plugin shouldn’t be too hard.
: Speak of the devil. WordPress 2.7 was just released today. Got to test the plugin first hand today and it was a smooth as a baby’s butt. It was basically the steps above, one after another. Personally I think it requested confirmation too many times. Like I don’t think it really needed my confirmation to go and download the latest version of WordPress. I think it should be 2 simple steps: 1. Backup, 2. Upgrade. Any option needed for backup should be on the 1st page. Any option needed for upgrade should be on the 2nd page. However, it definitely made the upgrade process a lot simpler.
Tons of new stuff that I have yet to check out. Definitely a big improvement over 2.6. The editor space is a lot bigger now (fills up the width of your screen instead of set at some fixed width). The common panes (publish, tags, and categories) are move to the right side. Unfortunately they haven’t made it possible to resize the panes individually. I still don’t understand why you can resize the editor window when it’s in Visual mode, but not in HTML mode.
I just watched the video on their blog and they’ve basically rendered this plugin useless. They’ve apparently built the WordPress upgrade directly into 2.7. They’ve also addressed a few of the points I’ve brought up (i.e. automatically downloading and installing plugins).