Built for WordPress 3.0.1+ which saves any media (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.
MOVIE-FILE.MOV > movie-file.mov
Movie-File.wmv > movie-file.wmv
ImAgEfILe.gif > imagefile.gif
imageFile.JPG > imagefile.jpg
ETC > etc
* WordPress sets file extension to lowercase. This plugin applies strtolower on the filename.
Frequently Asked Questions:
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).
* Initial release
Incoming search terms:
- apache/2 2 3
- wordpress filter media library file name
- wordpress upload filename rename plugin
- www BrityshLadySonia com