Joe Horn 的啟示錄

2005/05/12

升級 WordPress 1.5.1

升級的方式可以參考 這篇 .



值得注意的是, 1.5.1 的 feeds 會爛掉, 目前看到普遍的作法是修改 wp-blog-header.php 的第 138 行, 把這段 :

((strtotime($client_last_modified) >= strtotime($wp_last_modified)) || ($client_etag $wp_etag)) ) {


改成 :

($client_last_modified && (strtotime($client_last_modified) >= strtotime($wp_last_modified)) || ($client_etag $wp_etag)) ) {


如果您有 shell login 的話可以直接在 WordPress 1.5.1 的根目錄下用這些指令作修改 :

# wget http://www.joehorn.idv.tw/patch/wp-1.5.1-feeds.diff.txt



  1. patch < wp-1.5.1-feeds.diff.txt


另外, 因為 1.5.1 的速度快很多 ( SQL query 次數減少了 ) , 所以我也沒裝 WP-cache 了.

如果您覺得還有需要的話, WP-cache 目前最新版本是 2.0 , 連結在這 .

0 Comments:

張貼留言

<< Home