Make WordPress Core

Ticket #37564: 37564.patch

File 37564.patch, 2.8 KB (added by gitlost, 8 years ago)

Fix typos.

  • src/wp-includes/formatting.php

     
    12791279 * | U+0146  | ņ     | n           | Latin small letter n with cedilla                 |
    12801280 * | U+0147  | Ň     | N           | Latin capital letter N with caron                 |
    12811281 * | U+0148  | ň     | n           | Latin small letter n with caron                   |
    1282  * | U+0149  | ʼn     | N           | Latin small letter n preceded by apostrophe       |
    1283  * | U+014A  | Ŋ     | n           | Latin capital letter Eng                          |
    1284  * | U+014B  | ŋ     | N           | Latin small letter Eng                            |
     1282 * | U+0149  | ʼn     | n           | Latin small letter n preceded by apostrophe       |
     1283 * | U+014A  | Ŋ     | N           | Latin capital letter Eng                          |
     1284 * | U+014B  | ŋ     | n           | Latin small letter Eng                            |
    12851285 * | U+014C  | Ō     | O           | Latin capital letter O with macron                |
    12861286 * | U+014D  | ō     | o           | Latin small letter o with macron                  |
    12871287 * | U+014E  | Ŏ     | O           | Latin capital letter O with breve                 |
     
    15721572                chr(197).chr(130) => 'l', chr(197).chr(131) => 'N',
    15731573                chr(197).chr(132) => 'n', chr(197).chr(133) => 'N',
    15741574                chr(197).chr(134) => 'n', chr(197).chr(135) => 'N',
    1575                 chr(197).chr(136) => 'n', chr(197).chr(137) => 'N',
    1576                 chr(197).chr(138) => 'n', chr(197).chr(139) => 'N',
     1575                chr(197).chr(136) => 'n', chr(197).chr(137) => 'n',
     1576                chr(197).chr(138) => 'N', chr(197).chr(139) => 'n',
    15771577                chr(197).chr(140) => 'O', chr(197).chr(141) => 'o',
    15781578                chr(197).chr(142) => 'O', chr(197).chr(143) => 'o',
    15791579                chr(197).chr(144) => 'O', chr(197).chr(145) => 'o',
  • tests/phpunit/tests/formatting/RemoveAccents.php

     
    2020
    2121        public function test_remove_accents_latin_extended_a() {
    2222                $input = 'ĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬĭĮįİıIJijĴĵĶķĸĹĺĻļĽľĿŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſ';
    23                 $output = 'AaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIiIJijJjKkkLlLlLlLlLlNnNnNnNnNOoOoOoOEoeRrRrRrSsSsSsSsTtTtTtUuUuUuUuUuUuWwYyYZzZzZzs';
     23                $output = 'AaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIiIJijJjKkkLlLlLlLlLlNnNnNnnNnOoOoOoOEoeRrRrRrSsSsSsSsTtTtTtUuUuUuUuUuUuWwYyYZzZzZzs';
    2424
    2525                $this->assertEquals( $output, remove_accents( $input ), 'remove_accents replaces Latin Extended A' );
    2626        }