升級 WordPress 1.5.1

2005 May 13

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

值得注意的是, 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
patch < wp-1.5.1-feeds.diff.txt


另外, 因為 1.5.1 的速度快很多 ( SQL query 次數減少了 ) , 所以我也沒裝 WP-cache 了.
如果您覺得還有需要的話, WP-cache 目前最新版本是 2.0 , 連結在這 .

Comments »

The URI to TrackBack this entry is: http://joehorn.blogsome.com/2005/05/13/%e5%8d%87%e7%b4%9a-wordpress-151/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>