Make WordPress Core

Ticket #32939: 32939.diff

File 32939.diff, 555 bytes (added by akirk, 9 years ago)
  • src/wp-includes/formatting.php

     
    11361136                );
    11371137
    11381138                // Used for locale-specific rules
    1139                 $locale = get_locale();
     1139                // @ticket 32939 Filter for installations that have different locale names
     1140                $locale = apply_filters( 'remove_accents_get_locale', get_locale() );
    11401141
    11411142                if ( 'de_DE' == $locale || 'de_DE_formal' == $locale ) {
    11421143                        $chars[ chr(195).chr(132) ] = 'Ae';