mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Formatting: Remove soft hyphens when sanitising titles.
Props andg. Fixes #45378. Built from https://develop.svn.wordpress.org/trunk@44579 git-svn-id: http://core.svn.wordpress.org/trunk@44410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fcd66d09d9
commit
10c66fb426
@ -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',
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.1-beta1-44578';
|
||||
$wp_version = '5.1-beta1-44579';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user