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
Inspiration for this came with this week’s WordPress 2.1.1 update. I figured if I have to keep up with all the security updates, I might as well just build a script to simplify matters.
Questions, comments, compliments or constructive criticism will be gladly accepted!