diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index ab88f55911..c3e1d42433 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -1537,7 +1537,7 @@ function utf8_uri_encode( $utf8_string, $length = 0 ) { * | U+1EF9 | ỹ | y | Latin small letter y with tilde | * * German (`de_DE`), German formal (`de_DE_formal`), German (Switzerland) formal (`de_CH`), - * and German (Switzerland) informal (`de_CH_informal`) locales: + * German (Switzerland) informal (`de_CH_informal`), and German (Austria) (`de_AT`) locales: * * | Code | Glyph | Replacement | Description | * | -------- | ----- | ----------- | --------------------------------------- | @@ -1577,6 +1577,7 @@ function utf8_uri_encode( $utf8_string, $length = 0 ) { * @since 4.6.0 Added locale support for `de_CH`, `de_CH_informal`, and `ca`. * @since 4.7.0 Added locale support for `sr_RS`. * @since 4.8.0 Added locale support for `bs_BA`. + * @since 5.7.0 Added locale support for `de_AT`. * * @param string $string Text that might have accent characters * @return string Filtered string with replaced "nice" characters. @@ -1919,7 +1920,7 @@ function remove_accents( $string ) { // Used for locale-specific rules. $locale = get_locale(); - if ( in_array( $locale, array( 'de_DE', 'de_DE_formal', 'de_CH', 'de_CH_informal' ), true ) ) { + if ( in_array( $locale, array( 'de_DE', 'de_DE_formal', 'de_CH', 'de_CH_informal', 'de_AT' ), true ) ) { $chars['Ä'] = 'Ae'; $chars['ä'] = 'ae'; $chars['Ö'] = 'Oe'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 707dc09769..fa2b743c1a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-49966'; +$wp_version = '5.7-alpha-49967'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.