Changes between Initial Version and Version 1 of Ticket #54088, comment 27
- Timestamp:
- 04/27/2022 03:53:32 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #54088, comment 27
initial v1 12 12 > There's already a test for this but only for the `remove_accents()` function, not that it actually applies those transformations to the name of an uploaded file. https://github.com/WordPress/wordpress-develop/blob/16b04903feec8216bdd2e6230f4ad511a9238db1/tests/phpunit/tests/formatting/removeAccents.php#L15 13 13 14 There is a [source:tags/5.9.3/tests/phpunit/tests/formatting/sanitizeFileName.php#L23 test with some of the mentioned characters] for `sanitize_file_name()` too, see [48603] / #22363. If that doesn't always work as expected, something else might be involved .14 There is a [source:tags/5.9.3/tests/phpunit/tests/formatting/sanitizeFileName.php#L23 test with some of the mentioned characters] for `sanitize_file_name()` too, see [48603] / #22363. If that doesn't always work as expected, something else might be involved or missing.