Make WordPress Core

Ticket #52110: 52110.diff

File 52110.diff, 579 bytes (added by mukesh27, 4 years ago)

Updated patch.

  • wp-includes/formatting.php

    diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php
    index 815719105e..bb56530309 100644
    a b function remove_accents( $string ) { 
    19191919                // Used for locale-specific rules.
    19201920                $locale = get_locale();
    19211921
    1922                 if ( in_array( $locale, array( 'de_DE', 'de_DE_formal', 'de_CH', 'de_CH_informal' ), true ) ) {
     1922                if ( in_array( $locale, array( 'de_AT', 'de_DE', 'de_DE_formal', 'de_CH', 'de_CH_informal' ), true ) ) {
    19231923                        $chars['Ä'] = 'Ae';
    19241924                        $chars['ä'] = 'ae';
    19251925                        $chars['Ö'] = 'Oe';