Sets uploaded media filename to 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:
Note: WordPress sets file extension to lowercase. This plugin does a strtolower on the filename.
Visit the Red Bridge Internet site for more information about Make Filename Lowercase plugin.
This plugin evolved from a client requirement that all uploaded media filenames contain no uppercase characters.
It was useful to me and I wanted to work through the process of releasing a WordPress plugin.
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).