[Plugin: Add From Server] Replace spaces in filenames with dashes
Hello i love this plugin except one thing…
When a user uploads a file with spaces, the spaces are not replaced with dashes as they are when using the WordPress uploader.
I use Add From Server to upload videos to use with the JW Player Plugin. But JW Player does not allow spaces in filenames: “http://example.com/uploads/file name here.jpg” automatically turns into “http://example.com/uploads/filenamehere.jpg”
WordPress has a function to replace spaces with dashes in file names: http://codex.wordpress.org/Function_Reference/sanitize_file_name
is there anyway to incorporate this function into this plugin??
- The topic ‘[Plugin: Add From Server] Replace spaces in filenames with dashes’ is closed to new replies.