views: 1088 times
超大字體(180%)放大字體(130%)原始字體(100%)
update 2008/07/15, Fixed JP_FlickrYoutubeMediaSearch Common files error!

update 2008/07/14, Fixed TT_SkinManager Common files error!


When you used the same name of the functions which you setting up in the different plugin. The function CANNOT work well and failure in the plugin that you never know which one.

This is an BIG ERROR. The function I made it called "_ts" and "_fs" that used to translation. If there are two plugins used the same name of the functions, one of them will be fail and the admin-page will show up the blank page.

For example, the plugin "PN_Visitor_Default" source code like this:

And the "PN_Referer_Default" source code like this:


When I go to the "PN_Visitor_Default" that will be fine, but the "PN_Referer_Default" show me nothing.
Cause the function re-defined in plugin. I used different function's name that two plugins work well again... =_="

SO, I FIXED all the plugins which I modified within i18n.

咳,我知道我英文很爛。那上面是要寫給韓國官方看的,加減湊合一下。總之,這是應該算是程式邏輯上的錯誤,改用 require_once or include 避免掉一些重複定義同一個 function 所帶來的不必要的麻煩。目前所有的插件能出問題的都在我的 blog 出問題了,所以請大家務必要更新。

目前受影響的只有我中文化的插件的部分,總計有:
  • CT_Textcube_Plugin_N_Skin
  • HC_signuptoy
  • JP_FlickrYoutubeMediaSearch
  • JP_PN_Plugins_Setting_Manager
  • PN_Referer_Default
  • PN_Subscription_Default
  • PN_Visitor_Default
  • TC_Sitemap
  • TT_SkinManager
其中還有我自己做的 plugin,真是汗顏。

檔案在此,請下載更新。

i18n_error_fixed_plugins_20080711.zip
創用 CC 授權
Creative Commons License
本創作適用 姓名標示-非商業性-禁止改作 3.0 創用 CC 授權,台灣並依循所適用的授權條款。

Bookmarks  HEMiDEMi  Technorati  Del.icio.us  Digg  funP  Yahoo!  Furl
Writer profile
author image
偏執與強迫症的患者,算不上是無可救藥,只是我已經遇上我的良醫了。
Posted by hina

Trackback URL : http://hina.ushiisland.net/blog/hinablue/trackback/594

Leave your greetings.

  1. 目前还未敢更新。。。再看看吧~ :P

    2008/07/12 09:45 [ Permalink : Modify/Delete : Reply ]
    • 您就放心更新吧 XD
      我已經都測試過... 不會有什麼問題了。
      除非,好死不死有人的插件用的函式名稱跟我一樣...
      這樣我就認了 = ="

      2008/07/13 11:38 [ Permalink : Modify/Delete ]
[登入][OpenID是?]