الوصف
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.
التنصيب
- Upload the plugin files to the
/wp-content/plugins/uploaded-file-name-sanitizerdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the \’Plugins\’ screen in WordPress
- Use the Settings->’Uploaded file name sanitizer’ screen to configure the plugin
المراجعات
20 ديسمبر، 2016
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.
المساهمون والمطوّرون
“Uploaded file name sanitizer” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.
المساهمونترجمة ”Uploaded file name sanitizer“ إلى لغتك.
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
Initial release