From 11e2073d8987567939c7736c80f5cf4975482866 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 13 Dec 2012 09:59:28 +0000 Subject: [PATCH] Remove additional acute accents from permalink slugs via sanitize_title_with_dashes(). props SergeyBiryukov. fixes #22395. git-svn-id: http://core.svn.wordpress.org/trunk@23176 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 05d7227595..e554d6eda1 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -999,8 +999,10 @@ function sanitize_title_with_dashes($title, $raw_title = '', $context = 'display '%e2%80%9a', '%e2%80%9b', '%e2%80%9e', '%e2%80%9f', // copy, reg, deg, hellip and trade '%c2%a9', '%c2%ae', '%c2%b0', '%e2%80%a6', '%e2%84%a2', - // grave accent, acute accent, macron, caron - '%cc%80', '%cc%81', '%cc%84', '%cc%8c', + // acute accents + '%c2%b4', '%cb%8a', '%cc%81', '%cd%81', + // grave accent, macron, caron + '%cc%80', '%cc%84', '%cc%8c', ), '', $title ); // Convert times to x