WordPress 2.0.4 released (Security update)

WordPress v2.0.4 has been released with a number of security updates so it is well worth upgrading.

To simplfy the upgrade process I decided again to try generating a diff file between 2.0.3 and 2.0.4 and using that to patch my sites rather than uploading a full set of new files. The process for generating the diff file is actually simpler than the one I used last time!

Here is the process I took on my local machine to generate the diif file:

  1. Generated the patch file with svn diff using the following command (all on one line):

    svn diff http://svn.automattic.com/wordpress/tags/2.0.3 http://svn.automattic.com/wordpress/tags/2.0.4 > ~/2.0.3-to-2.0.4.patch

I then uploaded the patch file to my server and placed it in my home directory and applied the patch as follows:
Continue reading “WordPress 2.0.4 released (Security update)”

WordPress 2.0.2 released – Security update

WordPress v2.0.2 has been released with a number of security updates so it is well worth upgrading.

To simplfy the upgrade process I decided to try generating a diff file between 2.0.1 and 2.0.2 and using that to patch my sites rather than uploading a full set of new files.

Here is the process I took on my local machine to generate the diif file:

  1. Exported both 2.0.1 and 2.0.2 from svn using the following commands:

    To get 2.0.2 - svn --force export http://svn.automattic.com/wordpress/branches/2.0
    To get 2.0.1 - svn --force export http://svn.automattic.com/wordpress/tags/2.0.1

  2. Generated a patch file using diff:

    diff -U3 -r 2.0.1 2.0 > 2.0.1.to.2.0.2.patch

I then uploaded the patch file to my server and placed it in my home directory and applied the patch as follows:
Continue reading “WordPress 2.0.2 released – Security update”