开发者 |
onnimonni
devgeniem |
---|---|
更新时间 | 2016年4月20日 23:11 |
PHP版本: | 4.0 及以上 |
WordPress版本: | 4.5 |
版权: | MIT |
版权网址: | 版权信息 |
åöä
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
/wp-content/plugins/wp-sanitize-accented-uploads
directory, require it in composer $ composer require devgeniem/wp-sanitize-accented-uploads
or install the plugin through the WordPress plugins screen directly.No, sorry :(. You need to start using this before the problems arise in preventive way.
After the plugin installation and activation you can run $ wp sanitize all
in terminal to sanitize all current files.
See $ wp sanitize --help
for more.