Strip out British pound sterling (pound) symbol from post slug. fixes #2735

git-svn-id: https://develop.svn.wordpress.org/trunk@4320 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith
2006-10-04 07:51:11 +00:00
parent 3fdba8da61
commit b2cf5d4a93

View File

@@ -256,7 +256,9 @@ function remove_accents($string) {
chr(197).chr(188) => 'z', chr(197).chr(189) => 'Z',
chr(197).chr(190) => 'z', chr(197).chr(191) => 's',
// Euro Sign
chr(226).chr(130).chr(172) => 'E');
chr(226).chr(130).chr(172) => 'E',
// GBP (Pound) Sign
chr(194).chr(163) => '');
$string = strtr($string, $chars);
} else {