Make WordPress Core

Ticket #37076: 37076.1.patch

File 37076.1.patch, 1.2 KB (added by grapplerulrich, 9 years ago)
  • wp-includes/formatting.php

     
    14601460 * | U+1EF8   | Ỹ     | Y           | Latin capital letter Y with tilde                     |
    14611461 * | U+1EF9   | ỹ     | y           | Latin small letter y with tilde                       |
    14621462 *
    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:
    14641465 *
    14651466 * |   Code   | Glyph | Replacement |               Description               |
    14661467 * | -------- | ----- | ----------- | --------------------------------------- |
     
    16721673                // Used for locale-specific rules
    16731674                $locale = get_locale();
    16741675
    1675                 if ( 'de_DE' == $locale || 'de_DE_formal' == $locale ) {
     1676                if ( 'de_DE' == $locale || 'de_DE_formal' == $locale || 'de_CH' == $locale || 'de_CH_informal' == $locale ) {
    16761677                        $chars[ chr(195).chr(132) ] = 'Ae';
    16771678                        $chars[ chr(195).chr(164) ] = 'ae';
    16781679                        $chars[ chr(195).chr(150) ] = 'Oe';