Matt commit 了兩個 changes 5110 和 5111,這兩個 changes 新增基本的 tagging 功能,在 wp_categories table 中新增了 tag_count 這個 field 來儲存用了這 tag 文章的數量,在 wp_post2cat table 中新增了 rel_type 這個 field 來分辨是 category 或是 tag,同一個名稱可以同時是 category 和 tag。
在 Write Post 畫面中會有以下的輸入欄來輸入 tag。

在 default 和 classic theme 亦增添了顯示文章的 tag。

當然只是一些基本 tagging 功能,如不需要 UTW 強大的視覺效果和管理功能的話,這基本的 tagging 功能或許已經夠一般人使用了。
網友大衛和老鼠都不約而同說在 WordPress 2.1 中同時使用 Pagebar plugin 和 Ultimate Tag Warrior 時,就算所選的 tag 有關的文章很多,但 tag search 都只能顯示一頁的文章。
在研究 Pagebar 後發現是 Pagebar 在新增處理 WordPress 2.1 的文章同時,令到 UTW 在搜尋時不能使用 Pagebar 功能。如在 WordPress 2.0.x 中同時使用 UTW 和 Pagebar 是沒有問題的。
這次是以 Pagebar 1.3.1 來修改,修改方法如下。
將 pagebar.php 中第 56 行由
if ( ($wp_version < "2.1") || (is_category()) )
修改成
if ( ($wp_version < "2.1") || (is_category()) || (preg_match('/'. $wpdb->prefix . 'tags/', $request)) )
便可。
如果不想自行修改,我已經準備了一個修改了的版本,大家可以在這裡下載(已經下載了 734 次),下載後請將 extension 由 .phps 轉為 .php。
Ultimate Tag Warrior 3.14159265 Released,這次都是 bug fixes release,修正地方如下。
- The thing with tags being eaten by the wordpress 2.1 beta by comment-actions ought to be fixed.
- The thing where atom feeds were coming back invalid because of a mix of dc:subject and category tags.
- The thing where bbPress and UTW wouldn’t play nice because UTW had a is_tag function, and bbPress had one too. [If UTW sees that the is_tag function already exists, it isn’t declared; and there’s a is_utwtag function that bbPress users can use instead. Yeah.]
除了修正和 WordPress 2.1 一些不相容的地方外,亦終於修正了 AJAX Inline Tag-Adder 的問題。
下載鏈結
Ultimate Tag Warrior 3.1415926 Released,這個版本是 bug fixes release,修正了以下的問題。
- The bug in wordpress 2.1 which caused tags to vanish when a comment was made has been fixed
- I’m pretty sure you won’t end up with double-tags in feeds, any more
- I’ve rejigged the way tags are added to feeds
- Tag intersections should be working properly again
- Tags can be added to pages (and will be included in tag cloud counts… displaying on tag pages, though…)
- No more XSS vulnerability with the ajax URL parameter
- There’s an invisible technorati tags format, now! (Handy for using with the automagically include tags on the Options > Tags page)
- Search includes tags [I worry about this bit! let me know if you see anything weird]
不知 Ajax Inline Tag-Adder 失效的問題有否解決,要測試過才知。
Update ﹣ 經測試証實 Ajax Inline Tag-Adder 失效問題還未解決。
下載鏈結
Ultimate Tag Warrior 3.141592 Released » Ultimate Tag Warrior 3.141592 Released,這個版本如之前數個版本一樣都是 bug fix release,這次有以下修正。
- Tag feeds are working properly again (: Hopefully.. Depending on the version of wordpress you’re using.. (:
- There are a couple of performance tweaks: There’s a lot less javascript being downloaded most of the time (but with one javascript include for each post if you’re using the magical ajaxy format.. it seems like a worthy compromise!); and if you have a post with no tags, it will be added to the magical cache the first time it’s hit (previously it wasn’t, so there was a tag lookup for each request to a non-tagged page)
- The default category is now being included, if you are using automagic conversion of categories to tags.
下載連結
Latest Comment
秀秀, sidekick, 天佑, Cable, アキラ, Siutat [...]
漫步
Matthew, Matthew, 天佑, Matthew, 天佑, Brando [...]
天佑, Eddie, 天佑, alex, 天佑, 心急人 [...]
WonderJimmy, sidekick, Cable