Title: Make Filename Lowercase
Author: ereckers
Published: <strong>2011 年 2 月 11 日</strong>
Last modified: 2025 年 9 月 3 日

---

搜索插件

![](https://ps.w.org/make-filename-lowercase/assets/banner-772x250.jpg?rev=1113558)

![](https://s.w.org/plugins/geopattern-icon/make-filename-lowercase_836e5f.svg)

# Make Filename Lowercase

 作者：[ereckers](https://profiles.wordpress.org/ereckers/)

[下载](https://downloads.wordpress.org/plugin/make-filename-lowercase.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/make-filename-lowercase/#description)
 * [评价](https://cn.wordpress.org/plugins/make-filename-lowercase/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/make-filename-lowercase/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/make-filename-lowercase/#developers)

 [支持](https://wordpress.org/support/plugin/make-filename-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._

#### 更多的信息

Visit the [Red Bridge Internet](http://www.redbridgenet.com/) site for more information
about [Make Filename Lowercase](http://www.redbridgenet.com/make-filename-lowercase/)
plugin.

## 屏幕截图

 * [[
 * 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.
 * [[
 * An image detail view from the Media Library showing the new File name as lowercase.

## 安装

 1. Download the plugin and unzip it.
 2. Upload the folder /make-filename-lowercase to your /wp-content/plugins/ folder.
 3. Activate the plugin from your WordPress admin panel.
 4. Installation finished.

## 常见问题

### Why was this plugin created?

This plugin evolved from a client requirement that all uploaded media filenames 
contain no uppercase characters.

### Why did you release this plugin?

It was useful to me and I wanted to work through the process of releasing a WordPress
plugin.

### Why shouldn’t this just be added to a theme’s functions.php file?

Upgradeability, portability, backwards compatibility, and other *abilities. If for
some reason this function were in need of customization due to a WordPress version
upgrade, the plugin will be centrally responsible for releasing the fix as opposed
to updating the theme(s).

## 评价

此插件暂无评价。

## 贡献者及开发者

「Make Filename Lowercase」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ ereckers ](https://profiles.wordpress.org/ereckers/)

[帮助将「Make Filename Lowercase」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/make-filename-lowercase)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/make-filename-lowercase/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/make-filename-lowercase/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/make-filename-lowercase/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/make-filename-lowercase/)。

## 更新日志

#### 1.0.2

 * moved plugin screenshots to assets directory
 * added cool header banner for plugin repository

#### 1.0.1

 * Tested for 3.3.1

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**8 月前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/make-filename-lowercase/)
 * 标签
 * [filename](https://cn.wordpress.org/plugins/tags/filename/)[lowercase](https://cn.wordpress.org/plugins/tags/lowercase/)
   [media](https://cn.wordpress.org/plugins/tags/media/)[strtolower](https://cn.wordpress.org/plugins/tags/strtolower/)
   [upload](https://cn.wordpress.org/plugins/tags/upload/)
 *  [高级视图](https://cn.wordpress.org/plugins/make-filename-lowercase/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/make-filename-lowercase/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/make-filename-lowercase/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/make-filename-lowercase/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/make-filename-lowercase/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/make-filename-lowercase/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/make-filename-lowercase/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/make-filename-lowercase/reviews/)

## 贡献者

 *   [ ereckers ](https://profiles.wordpress.org/ereckers/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/make-filename-lowercase/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.redbridgenet.com/make-payment/)