Commit b119abd5 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

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: https://core.svn.wordpress.org/trunk@48355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent c06b07b4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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',
+1 −1
Original line number Diff line number Diff line
@@ -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.