From b2cf5d4a932cba1c134ecd028a5f105499e894c7 Mon Sep 17 00:00:00 2001 From: Mark Jaquith 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: https://develop.svn.wordpress.org/trunk@4320 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 {