TaopaiC on 七月 29th, 2008

更新到 WordPress 2.6 之後, Where did they go from here 這個 plugin 就會跳 warning 出來. warning: unserialize() expects parameter 1 to be string, array given in /home/xxxxxxxx/public_html/wp-content/plugins/wheredidtheygov1.php on line 97 參考其他 plugin 的解法是先用 is_serialized() 判斷, 如下修改即可 64,66c64 < if (is_serialized($linkpostids)) { < $linkpostids = unserialize($linkpostids); < } --- > $linkpostids = unserialize($linkpostids); 99,101c97 < if [...]

Continue reading about 修正 WhereDidTheyGo plugin 在 WP 2.6 的錯誤訊息

TaopaiC on 一月 22nd, 2008

剛再更新 wp svn , 看到幾個 tinymce 的更新, 再來測試看看. update: 在編輯器使用 HTML 模式, 會被吃文. 儲存前換成 Visual "應該"就沒事. 詳細更新紀錄如下

Continue reading about [test] 再測試 WP2.4 svn 的發文功能

TaopaiC on 一月 21st, 2008

上幾個禮拜看到大神在抱怨WordPress 2.4 svn 版本有發文吃文的問題. 我手賤不小心也更新到有問題的板本… 大神downgrade到 2.3.2 就正常, 我 downgrade 則會無法登入, 只好繼續踩地雷… 如果是寫新文章, 那存檔的時候, 文字會被吃光光. 但如果用離線編輯器(像是 ScribeFire)先寫好, 送上wordpress當作草稿, 再到後台發佈, 文字就不會被吃光光.. 剛剛又發現, 如果在後台寫了空白文章, 再用離線編輯器寫也是會被吃文, 所以這是第三次寫這篇文張了..

Continue reading about [test] 測試 WP2.4 svn 的發文功能