Formatting: Filter out the bullet character in `sanitize_title_with_dashes()`.

Props roytanck, deepaklalwani, veromary.
Fixes #49791.
Built from https://develop.svn.wordpress.org/trunk@48593


git-svn-id: http://core.svn.wordpress.org/trunk@48355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-07-24 00:03:05 +00:00
parent 1f3c2fba20
commit e1830a8182
2 changed files with 3 additions and 1 deletions

View File

@ -2263,6 +2263,8 @@ function sanitize_title_with_dashes( $title, $raw_title = '', $context = 'displa
'%e2%80%9b',
'%e2%80%9e',
'%e2%80%9f',
// Bullet.
'%e2%80%a2',
// &copy, &reg, &deg, &hellip, and &trade.
'%c2%a9',
'%c2%ae',

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-beta3-48592';
$wp_version = '5.5-beta3-48593';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.