Mar 25
As anyone who uses foreign language support in WordPress 1.5 may have noticed, switching to language to something other than english slows down WordPress.
我在幾天前裝到我這邊, 運作起來沒問題, 也能跟 WP-cache 共存, 所以在這邊丟我自己包好的版本, 點這裡下載 .
放在 WordPress 根目錄下解開後 ( 或是解開後上傳 ), 只要把 gettext.php 跟 streams.php 丟進 wp-includes 底下.
( 不放心的人可以先把原本的檔案改名為 xxxxx.old )
再來, 直接在 shell 底下用 patch < wp-l10n.php.diff .
(如果沒有 shell login 權限, 則是修改 wp-includes/wp-l10n.php , 把原本的這行 :
$input = new FileReader($mofile);
換成
$input = new CachedFileReader($mofile);
Related posts:
Tags: WordPress(Visited 4446 times)





March 27th, 2005 at 12:38 am
[...] 件
加速 WordPress 1.5
看到 Joe Horn 的啟示錄中加快 WordPress 1.5 的頁面顯示 試了一下 發現速度快很多…… 原始出 [...]
From
Using
March 30th, 2005 at 12:01 am
[...] Press 1.5 的頁面顯示 Posted in WordPress at 11:45 pm by ㄚ森 這是我再 Joe Horn 的啟示錄中看到的 使用後的結果真的有加快的感覺 不過還沒試 [...]
From
Using
April 1st, 2005 at 8:38 pm
這個是不是已經在 WordPress 1.5.1-alpha 裡面了? 因為我發現我不用改 wp-l10n.php
From
Using
April 1st, 2005 at 9:23 pm
如果 1.5.1-alpha 不用改 wp-l10n.php 的話, 搞不好已經整合進去了?!
我晚點找 1.51-alpha 來研究看看, 如果已經整合進去的話, 也許連 gettext.php 跟 streams.php 都不用再換.
anyway, 感謝您的通知.
From
Using
January 30th, 2008 at 3:21 am
[...] WordPress 1.5 upgrade to 1.5.1 Posted May 11, 2005 新版的WordPress發佈了,消息來自gslin和hsuyo,新版的1.5.1修正了幾個BUG,包括這個和繁體中文速度很龜的問題,本想手動修改,這下全免了,哈哈。 [...]
From
Using