Remove additional acute accents from permalink slugs via sanitize_title_with_dashes(). props SergeyBiryukov. fixes #22395.
git-svn-id: https://develop.svn.wordpress.org/trunk@23176 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
05861ebb8c
commit
59bb81f264
@ -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',
|
'%e2%80%9a', '%e2%80%9b', '%e2%80%9e', '%e2%80%9f',
|
||||||
// copy, reg, deg, hellip and trade
|
// copy, reg, deg, hellip and trade
|
||||||
'%c2%a9', '%c2%ae', '%c2%b0', '%e2%80%a6', '%e2%84%a2',
|
'%c2%a9', '%c2%ae', '%c2%b0', '%e2%80%a6', '%e2%84%a2',
|
||||||
// grave accent, acute accent, macron, caron
|
// acute accents
|
||||||
'%cc%80', '%cc%81', '%cc%84', '%cc%8c',
|
'%c2%b4', '%cb%8a', '%cc%81', '%cd%81',
|
||||||
|
// grave accent, macron, caron
|
||||||
|
'%cc%80', '%cc%84', '%cc%8c',
|
||||||
), '', $title );
|
), '', $title );
|
||||||
|
|
||||||
// Convert times to x
|
// Convert times to x
|
||||||
|
Loading…
Reference in New Issue
Block a user