Blank spaces in filename replaced with dashes when uploaded to Media Library
-
Yesterday I upload some new pictures and gifs to my WP site and I saw this “problem”. When file have blank space in filename is uploaded blank space is replaced with dash.Example, when you upload file in Media Library named “file one.jpg”, after being uploade file is renamed in “file-one.jpg”.
Only few days ago this was working normaly.
I also use mediatoftp plugin(plugin transfer media files from folder on hosting to media library). Files with blank space inserted in media library using this plugin, preserved blank space in there filename.
Any suggestions?
There were no wordpress updates of any kind on my WP sites. I only tested this on two sites, one running on 4.6.1, other running on 4.5.5.
In case you are wondering why this is important to me, it’s because I use plugin for automatic post creating after media upload (auto-post-after-image-upload plugin) so filename with blank space are important to me.
- The topic ‘Blank spaces in filename replaced with dashes when uploaded to Media Library’ is closed to new replies.