diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
index 45fb3c35b6..43eaa5adaa 100644
a
|
b
|
function sanitize_file_name( $filename ) { |
2033 | 2033 | */ |
2034 | 2034 | $special_chars = apply_filters( 'sanitize_file_name_chars', $special_chars, $filename_raw ); |
2035 | 2035 | $filename = str_replace( $special_chars, '', $filename ); |
| 2036 | $filename = remove_accents( $filename ); |
2036 | 2037 | $filename = str_replace( array( '%20', '+' ), '-', $filename ); |
2037 | 2038 | $filename = preg_replace( '/[\r\n\t -]+/', '-', $filename ); |
2038 | 2039 | $filename = trim( $filename, '.-_' ); |