Ticket #37076: 37076.2.patch
File 37076.2.patch, 1.5 KB (added by , 9 years ago) |
---|
-
wp-includes/formatting.php
1460 1460 * | U+1EF8 | Ỹ | Y | Latin capital letter Y with tilde | 1461 1461 * | U+1EF9 | ỹ | y | Latin small letter y with tilde | 1462 1462 * 1463 * German (`de_DE`) and German formal (`de_DE_formal`) locales: 1463 * German (`de_DE`), German formal (`de_DE_formal`), German (Switzerland) formal (`de_CH`), 1464 * and German (Switzerland) informal (`de_CH_informal`) locales: 1464 1465 * 1465 1466 * | Code | Glyph | Replacement | Description | 1466 1467 * | -------- | ----- | ----------- | --------------------------------------- | … … 1484 1485 * | U+00E5 | å | aa | Latin small letter a with ring above | 1485 1486 * 1486 1487 * @since 1.2.1 1488 * @since 4.6.0 Locale support was added for `de_CH` and `de_CH_informal`. 1487 1489 * 1488 1490 * @param string $string Text that might have accent characters 1489 1491 * @return string Filtered string with replaced "nice" characters. … … 1672 1674 // Used for locale-specific rules 1673 1675 $locale = get_locale(); 1674 1676 1675 if ( 'de_DE' == $locale || 'de_DE_formal' == $locale ) {1677 if ( 'de_DE' == $locale || 'de_DE_formal' == $locale || 'de_CH' == $locale || 'de_CH_informal' == $locale ) { 1676 1678 $chars[ chr(195).chr(132) ] = 'Ae'; 1677 1679 $chars[ chr(195).chr(164) ] = 'ae'; 1678 1680 $chars[ chr(195).chr(150) ] = 'Oe';