mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
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
This commit is contained in:
parent
de3a5b8694
commit
11e2073d89
@ -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