Make WordPress Core

Ticket #54818: 54818.diff

File 54818.diff, 1.0 KB (added by Chaton666, 4 years ago)
  • src/wp-includes/formatting.php

    diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
    index dac06eb571..24933e1e14 100644
    a b function utf8_uri_encode( $utf8_string, $length = 0, $encode_ascii_characters = 
    12611261 * | U+00E7  | ç     | c           | Latin small letter c with cedilla      |
    12621262 * | U+00E8  | è     | e           | Latin small letter e with grave        |
    12631263 * | U+00E9  | é     | e           | Latin small letter e with acute        |
     1264 * | eU+0301 | é     | e           | Latin small letter e with combining acute accent |
    12641265 * | U+00EA  | ê     | e           | Latin small letter e with circumflex   |
    12651266 * | U+00EB  | ë     | e           | Latin small letter e with diaeresis    |
    12661267 * | U+00EC  | ì     | i           | Latin small letter i with grave        |
    function remove_accents( $string ) { 
    16371638                        'ç' => 'c',
    16381639                        'è' => 'e',
    16391640                        'é' => 'e',
     1641                        'é' => 'e',
    16401642                        'ê' => 'e',
    16411643                        'ë' => 'e',
    16421644                        'ì' => 'i',