diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php
index c9ebd78..7b64ea1 100644
a
|
b
|
function remove_accents($string) { |
801 | 801 | } |
802 | 802 | |
803 | 803 | $string = strtr($string, $chars); |
| 804 | |
| 805 | // Removes combining marks. |
| 806 | $combining_marks = array( |
| 807 | '/[\x{0300}-\x{036f}]/u', // Combining Diacritical Marks |
| 808 | '/[\x{1dc0}-\x{1dff}]/u', // Combining Diacritical Marks Supplement |
| 809 | '/[\x{20d0}-\x{20ff}]/u', // Combining Diacritical Marks for Symbols |
| 810 | '/[\x{fe20}-\x{fe2f}]/u' // Combining Half Marks |
| 811 | ); |
| 812 | $string = preg_replace( $combining_marks, '', $string ); |
804 | 813 | } else { |
805 | 814 | // Assume ISO-8859-1 if not UTF-8 |
806 | 815 | $chars['in'] = chr(128).chr(131).chr(138).chr(142).chr(154).chr(158) |