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”

WordPress Cache Inspect v0.50

I am please to announce a new WordPress plugin which allows you to peek under-the-hood at the new cache in WordPress v2.0 (and v2.0.1) and to see what it is doing. A semi-transparent window is displayed for the admin user at the top right hand corner of your blog. It also allows the admin user to easily clear the cache from within the WordPress adminitration interface.

Preview of pjw-wp-cache-inspect output

Cold Cache Hits
This is the number of cached items that were loaded from disk.
Warm Cache Hits
This is the number of cached items accessed that were already in memory
Cache Misses
This is the number of items that had to be fetched from the db as they were not in the cache.
Loaded data
This lists the type and amount of data loaded into memory from that currently stored within the cache..

Head on over to the wp-cache-inspect page for more info and to download.