這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Uploaded file name sanitizer

外掛說明

Replaces uploaded file name chars which are not in \’a-z\’, \’0-9\’ and \’ \'(space) range. Helpful when dealing with non-latin letters. Especially when dealing with urls.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/uploaded-file-name-sanitizer directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the \’Plugins\’ screen in WordPress
  3. Use the Settings->’Uploaded file name sanitizer’ screen to configure the plugin

使用者評論

2016 年 12 月 20 日
It works just fine and prevents problems with invalid file names under some server configurations, which will lead to inaccessible images. I did replace the plugin's own sanitization with a custom function though, in order to not just replace characters that are out of range with hiphens, but to also transform the file name into lowercase, replace characters with diacritics by their simple forms and join sequences of hiphens into a single character.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Uploaded file name sanitizer〉的開發相關工作。

參與者

將〈Uploaded file name sanitizer〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

Initial release