WordPress 2.1-alpha3 and Ultimate Tag Warrior

If you’re running WordPress 2.1 trunk from SVN (currently at 2.1-alpha3, r4663) with Ultimate Tag Warrior (UTW) 3.141592 (the latest version as of today), UTW will lose all tags on a post when a new comment is made.

To fix this, edit the ultimate-tag-warrior-actions*.php files (in your UTW directory, there should be one -actions.php and one -actions-wordpress2.php, simply edit both). In the function ultimate_save_tags($postID), add the following lines right after the opening curly bracket:

    if (!is_admin()) return $postID;
    if (!isset($_POST['tagset'])) return $postID;

Save the files and you should be all set.

The problem occurs because WordPress trunk calls the edit_post hook when new comments are added. UTW doesn’t check the environment and just assumes the admin wanted to delete all tags, and then dutifully removes the tags from the post.

The fix just does nothing when the edit_post hook gets called from outside the admin publish area.

Update: See also Thomas’ comment for the latest UTW version.

Vorsätze fürs nächste Jahr

… sind doof. Was ich aber unbedingt bald machen will:

Daheim

  • Katerparadies aus Holz und Teppichfliesen
  • Katerschlafplatz in der Zimmerecke
  • Flur verteppichfliesen (retro style!)

Photographie

Video

  • einen Musikfilm zu Ulver’s Perdition City
  • ein paar der Videoideen umsetzen, die mir seit ewig im Kopf herumschwirren (hoffentlich werden HDTV-Camcorder bald erschwinglich)

Musik

  • eine mehrstündige Percussion-Jam-Session

Für schuehsch

  • das neue Blog-Design (black box 2.0)
  • Daily Reminder

Für Tollhaus

  • das Blog bauen
  • den Shop “entführen”
  • ein öffentliches Wiki / Forum
  • einen Inline-Chat mit IRC-Anbindung

Für die CLT

  • ein Sofa (CLT-blau, lang genug zum drauflegen, am besten eine Bettcouch)
  • ein neues CMS für die Webseite
  • eine Lavalampe :p
  • das Whiteboard aufhängen
  • den CLT-Hiwi-Account stärker promoten (auf dem ?Whiteboard)

Things to ponder: “Undo”

English has a short, simple word: “undo”.

The equivalent in German is “Rückgängig machen” or “Ungeschehen machen”, and I can’t really think of anything shorter than that.

What does that say about the cultures?

Long titles for Firefox

Mozillan browsers (SeaMonkey, Firefox, Flock, …) cut off tooltips after 80 chars, including tooltips from HTML TITLE attributes: bug 45375, bug 218223.

After the bug has been open for six and a half years (opened 2000-07-13), it has finally been resolved – on the Seamonkey trunk, which means the change will not make it into the popular browser before version 3.0.

Long Titles (amo, home page) is an extension for Mozilla, Firefox and Netscape that fixes this annoying behaviour. It prevents tooltips from being cut off, and also enables line breaks within TITLE attributes.

Another little step on making Firefox more useful…

TWAINgle

Twaingle is a tool that allows you to search for images on flickr or yahoo and insert them directly into an application.

Where ‘application’ means ‘anything TWAIN-aware’. TWAINgle installs itself into the system (Windows XP only at the moment) as a TWAIN driver. Thus, all applications that have an option to “scan” images via TWAIN become web-enabled instantly. And how!

Do follow, please

[lang_de]
Dieses Blog ist seit jetzt wieder frei von rel="nofollow". Das nofollow-Attribut hat in meinen Augen nichts gebracht – der Linkspam hat nicht abgenommen, die Suchergebnisse wurden nicht merklich besser. Statt dessen wird auch den legitimen Links (in Posts oder Kommentaren) der Google-Juice(tm?) genommen.

Also, back to the (web)roots: Do follow!
[/lang_de]
[lang_en]
This blog is once again free from rel="nofollow". The nofollow attribute hasn’t done any good as far as I can see – the link spam has, if anything, grown, search engine’s results haven’t become noticeably better. Instead, even legitimate links (in posts or comments) are stripped of their Google juice.

Thus, back to the (web) roots: Do follow!
[/lang_en]

Milchbartkater

Manchmal glaube ich, die wollen unbedingt Durchfall kriegen, damit sie bemitleidet werden.
Die Kater haben gerade in weniger als drei Minuten und fast komplett geräuschlos:

  • den Mülleimer umgeworfen,
  • geöffnet,
  • eine leere Milchpackung rausgewühlt,
  • deren Verschluss geöffnet,
  • die Packung aufgekaut,
  • und jeden letzten Milchrest daraus aufgeschleckt,

bevor sie von mir gestört wurden.

Und dann schnurrt mir Salbei um die Beine, und Pfefferminz erzählt mir irgendwas, was auf große Genugtuung hindeutet – und ich geb ihnen gleich nochmal Katzenmilch hinterher. Salbei mit Milchbart entschädigt dann fürs Mülleimer-Wiedereinräumen.