diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index ff087ad683..a85f14f014 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -1985,7 +1985,7 @@ function remove_accents( $string ) { */ function sanitize_file_name( $filename ) { $filename_raw = $filename; - $special_chars = array( '?', '[', ']', '/', '\\', '=', '<', '>', ':', ';', ',', "'", '"', '&', '$', '#', '*', '(', ')', '|', '~', '`', '!', '{', '}', '%', '+', chr( 0 ) ); + $special_chars = array( '?', '[', ']', '/', '\\', '=', '<', '>', ':', ';', ',', "'", '"', '&', '$', '#', '*', '(', ')', '|', '~', '`', '!', '{', '}', '%', '+', '’', '«', '»', '”', '“', chr( 0 ) ); // Check for support for utf8 in the installed PCRE library once and store the result in a static. static $utf8_pcre = null; diff --git a/wp-includes/version.php b/wp-includes/version.php index 0ba71ac38d..29e50eb4da 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta3-48595'; +$wp_version = '5.5-beta3-48596'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.