Formatting: Remove soft hyphens when sanitising titles.

Props andg.
Fixes #45378.



git-svn-id: https://develop.svn.wordpress.org/trunk@44579 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2019-01-14 05:38:41 +00:00
parent 4550488c99
commit 71abc20def

View File

@ -2232,6 +2232,8 @@ function sanitize_title_with_dashes( $title, $raw_title = '', $context = 'displa
// Strip these characters entirely
$title = str_replace(
array(
// soft hyphens
'%c2%ad',
// iexcl and iquest
'%c2%a1',
'%c2%bf',