
內容簡介
這個 WordPress 外掛可以刪除所有類似 åöä 的重音符號,並提供簡單的 wp-cli 命令,可以從當前上傳的檔案中刪除重音符號,並從資料庫中移除附件連結。
這對於現有和未來的網站遷移非常有幫助,並有助於避免奇怪的檔案名編碼錯誤。
可以過濾 Cyrillic、德語、法語、波蘭語、西班牙語、匈牙利語、捷克語、希臘語、瑞典語的重音符號。
甚至可以使用 PHP Normalizer 類別 刪除檔案中可能發生的罕見但可能的 Unicode NFD 字符。如果您將上傳檔案掛載到 OS-X 的虛擬環境中,通常會發生這種情況。
此外掛適用於 WordPress 多站點。
更多資訊可參閱 GitHub 頁面:https://github.com/devgeniem/wp-sanitize-accented-uploads
外掛標籤
開發者團隊
原文外掛簡介
WordPress plugin which removes all accented characters like åöä from future uploads and has easy wp-cli command for removing accents from current uploads and attachment links from database.
This helps tremendously with current and future migrations of your site and helps you to avoid strange filename encoding bugs.
Sanitize accents from Cyrillic, German, French, Polish, Spanish, Hungarian, Czech, Greek, Swedish.
This even removes rare but possible unicode NFD characters from files by using PHP Normalizer class. These usually happen if you have mounted uploads into your vagrant box in OS-X.
This plugin is wordpress multisite compatible.
More information in github page: https://github.com/devgeniem/wp-sanitize-accented-uploads
