Linux 软件免费装

Clean Filenames

开发者 samuelaguilera
更新时间 2023年12月22日 22:04
PHP版本: 5.6 及以上
WordPress版本: 6.4.2
版权: GPL2

标签

upload cyrillic sanitize hebrew filename utf-8 international characters

下载

1.0.4 1.0.3 1.0.5 1.0.6 1.0.8 1.0.9 1.1 1.1.1 1.2 1.2.2 1.2.3 1.0.1 1.0.2 1.2.4 1.0

详情介绍:

Features It takes the following steps for getting cleaner and safe to use filenames This reduces problems with some servers, services, plugins... That may have problems handling filenames with special or international characters. The plugin does its job during file upload process, so it'll change only filenames for files being uploaded after plugin activation. It supports a large number of international characters, including but not only, characters from belarusian, cyrillic alphabet, czech, german, hebrew, hungarian, russian, polish, spanish, ukrainian, and some other special characters (e.g. №, @, $, etc.). If you have any questions or need support, please check FAQ for additional information before asking. Requirements

安装:

升级注意事项:

1.0.5
  • Added: Replaces any '.' character in the filename except for last one (for file extension) with '-'.
1.0.4
  • Added: Replaces any '+' in the filename with '-'.
1.0.3 Recommended upgrade.

常见问题:

Will change filenames for files uploaded before activating the plugin?

No. The plugin does its job just after a file is uploaded and before it's saved to your server, so it'll change only filenames for files being uploaded after plugin activation.

I would like to do additional changes to the filename, is that possible?

Since 1.2.2 version, you can use the scf_friendly_filename filter to perform additional changes to the filename after all the changes done by the plugin. Example: add_filter ('scf_friendly_filename', 'first_character_uppercase', 10, 1); function first_character_uppercase ( $friendly_filename ){ // Make sure first character is always uppercase. $friendly_filename = ucfirst( $friendly_filename ); return $friendly_filename; }

My language is not listed in the plugin description, will it still replace my language characters?

Probably. Simply give it a try and see how it goes. This plugin doesn't store anything in your site or anywhere, and makes no permanent changes to the site, disabling the plugin is enough to go back to WP default filename handling. Therefore trying and uninstalling the plugin if it doesn't fit your needs it's a completely safe and clean task.

更新日志:

1.2.4 1.2.3 1.2.2 1.2 1.1.1 1.1 1.0.9 1.0.8 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0