WordPress Upgrade Script


Heres a little Shell Script I wrote which, if run, will check your entire server for insecure versions of wordpress.  If it finds any, it will give you the option to upgrade. If you say yes it will backup the existing sites file and database in /root/wp_upgrade and upgrade it.

Please Note: This has not been tested with any wordpress MU instances, and may break them

wget http://b.ri.mu/files/wordpress-upgrade-patched.sh

sh wordpress-upgrade-patch.sh

This has been tested, and will upgrade to version 2.8.4 . If any future upgrade versions come out after this then just change the variable at the top.

It will determine if its a WordPress or WordPress Multi User and apply the correct fix.

If you have any bugs or problems with it, please let me know or contact support

Note: Patched for better portability by valthonis

,

6 responses to “WordPress Upgrade Script”

  1. Thanks Liz. If any customers are stuck and needs some advice or a hand, just pop in a ticket with the details and we will see how we can help.

  2. Some people have multiple installs (read: me) and I would prefer the less verbosity unless something goes really wrong. Good idea though :)