WordpressI’ve upgraded my previously mentioned version of wp-update. A simple bash script that only updates the files that were changed in the latest wordpress release.

The following bash script works with WordPress 2.3.1 and 2.3.2 and upgrades it to the latest 2.3.3 version.

Grab the script

See it in action

$ sudo ./wp-update -d /var/www/html/www.labcoding.com/

Grabbing the latest version from WordPress.org

–17:06:45– http://wordpress.org/latest.tar.gz
=> `latest.tar.gz’
Resolving wordpress.org… 72.233.56.139, 72.233.56.138
Connecting to wordpress.org|72.233.56.139|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: unspecified [application/x-gzip]

[ <=> ] 884,898 44.49K/s

17:07:03 (48.90 KB/s) – `latest.tar.gz’ saved [884898]

The downloaded version is 2.3.3.

Creating backup of current WordPress files, just in case…

Copying changed files into /var/www/html/www.labcoding.com/

Your blog has been updated from 2.3.2 to 2.3.3!
No running of update.php is needed for this release.

Files changed in WordPress 2.3.3 (in regards to 2.3.2)

  • /xmlrpc.php
  • /wp-admin/install-helper.php
  • /wp-includes/pluggable.php
  • /wp-includes/version.php
Be Sociable, Share!