From 175bfff21d7a856fa194fb0ad41e5054988d0f3b Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 4 Oct 2006 07:51:11 +0000 Subject: [PATCH] Strip out British pound sterling (pound) symbol from post slug. fixes #2735 git-svn-id: http://svn.automattic.com/wordpress/trunk@4320 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 1aeb7a9250..d153fb964f 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -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 {