From d1052ad7639741f3d4a46107f2ae381d70dbc4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gastard?= <107396698+Sebastien-Gastard@users.noreply.github.com> Date: Thu, 17 Sep 2026 14:29:02 +0200 Subject: [PATCH] Update formatting.php --- src/wp-includes/formatting.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index abbf18c3b74d2..109aabb5115fc 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -2033,6 +2033,7 @@ function remove_accents( $text, $locale = '' ) { * @return string The sanitized filename. */ function sanitize_file_name( $filename ) { + $filename = urldecode( $filename ); $filename_raw = $filename; $filename = remove_accents( $filename );