diff --git src/wp-includes/formatting.php src/wp-includes/formatting.php
index a0438e9c53..93a3e9558d 100644
|
|
function remove_accents( $string ) { |
1926 | 1926 | // grave accent |
1927 | 1927 | 'Ǜ' => 'U', |
1928 | 1928 | 'ǜ' => 'u', |
| 1929 | // Greek and Coptic |
| 1930 | '΅Ι' => 'I', |
| 1931 | 'ΐ' => 'i', |
1929 | 1932 | ); |
1930 | 1933 | |
1931 | 1934 | // Used for locale-specific rules |
diff --git tests/phpunit/tests/formatting/RemoveAccents.php tests/phpunit/tests/formatting/RemoveAccents.php
index 32ea89e5f1..4046c3beed 100644
|
|
class Tests_Formatting_RemoveAccents extends WP_UnitTestCase { |
143 | 143 | |
144 | 144 | $this->assertEquals( 'Dd', remove_accents( 'Đđ' ) ); |
145 | 145 | } |
| 146 | |
| 147 | /** |
| 148 | * @ticket 44793 |
| 149 | */ |
| 150 | public function test_remove_greek_coptic() { |
| 151 | $input = '΅Ιΐ'; |
| 152 | $output = 'Ii'; |
| 153 | |
| 154 | $this->assertEquals( $output, remove_accents( $input ), 'remove_accents replaces greek coptic' ); |
| 155 | } |
146 | 156 | } |