remove_accents does not seem to work (when used inside sanitize_file_name filter)
I’ve just got an advice on Twitter from Daniel Střelec to simply use sanitize_title – which is a better solution anyway, as it removes whitespace and other non-ideal characters for filename. Use it this way: add_filter(‘sanitize_file_name’, ‘sanitize_title’); I’m keeping the question opened though, as what I’ve described above sounds like a WP bug to me. … Read more