WordPress and UTW Upgrade

Why on earth has my ‘post_type’ column on my wp 2.0.x based blog no default value? Ultimate Tag Warrior UTW3-14159265 will break and show no tags.

If anyone else has this problem, add

$typelimitsql = "(post_status = 'publish' OR post_status = 'static')";  // From previous version of utw

in ultimate-tag-warrior-core.php right before the class definition. It’s taken from the previous UTW Version.

Edit:
Upgrading to WP 2.1.x changed the table structure… A little hint would have been nice in the utw changelog.

| Comments (0) »

03-Apr-07




Copy directories and preserve permissions

The following command will create a recursive copy of the current working directory preserving all file permissions and owners:

mkdir /var/backup/michael
cd /home/michael
tar cf - . | (cd /var/backup/michael && tar xBfp -)

Comes in handy while moving whole directory trees from one disk to a new one.

| Comments (0) »

18-Mar-07