跳到内容

Make Filename Lowercase

v1.0.2

ereckers · 2011年2月11日 上架

Sets uploaded media filename to lowercase.

正在使用
1,000+
评分
4.8 / 5
累计下载
1.1 万
最近更新
2025年9月3日
4 条评价需要 WordPress 3.0.1+已测试到 6.8.13

贡献者

截图

Upload media filename of mixed case (in this case, the file MIXED-cAsE-filename.JPG).
Upload media filename of mixed case (in this case, the file MIXED-cAsE-filename.JPG).
Filename changed to lowercase (mixed-case-filename.jpg) preserving the case for Title.
Filename changed to lowercase (mixed-case-filename.jpg) preserving the case for Title.
An image detail view from the Media Library showing the new File name as lowercase.
An image detail view from the Media Library showing the new File name as lowercase.

Sets uploaded media filename to lowercase as filter on sanitize_file_name. Based on post at Stack Overflow asking if there is a way to “Rename files during upload within WordPress 3.0 backend”.

Created for WordPress 3.0.1+ which saves any uploaded media filename (Image, Video, Audio) as lowercase. This effectively changes the name of the file at upload if a user were to upload a file with any uppercase characters.

For instance:

  • MOVIE-FILE.MOV > movie-file.mov
  • Movie-File.wmv > movie-file.wmv
  • ImAgEfILe.gif > imagefile.gif
  • imageFile.JPG > imagefile.jpg
  • ETC > etc

Note: WordPress sets file extension to lowercase. This plugin does a strtolower on the filename.

More Information

Visit the Red Bridge Internet site for more information about Make Filename Lowercase plugin.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums