diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index a57a481ced..83fe70de7f 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -1496,7 +1496,7 @@ function utf8_uri_encode( $utf8_string, $length = 0 ) { * | -------- | ----- | ----------- | --------------------------------------- | * | U+00B7 | l·l | ll | Flown dot (between two Ls) | * - * Serbian (`sr_RS`) locale: + * Serbian (`sr_RS`) and Bosnian (`bs_BA`) locale: * * | Code | Glyph | Replacement | Description | * | -------- | ----- | ----------- | --------------------------------------- | @@ -1506,6 +1506,7 @@ function utf8_uri_encode( $utf8_string, $length = 0 ) { * @since 1.2.1 * @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`. * * @param string $string Text that might have accent characters * @return string Filtered string with replaced "nice" characters. @@ -1711,7 +1712,7 @@ function remove_accents( $string ) { $chars[ 'å' ] = 'aa'; } elseif ( 'ca' === $locale ) { $chars[ 'l·l' ] = 'll'; - } elseif ( 'sr_RS' === $locale ) { + } elseif ( 'sr_RS' === $locale || 'bs_BA' === $locale ) { $chars[ 'Đ' ] = 'DJ'; $chars[ 'đ' ] = 'dj'; }