From e1830a8182eac6a4dbd6fd235c04895791850f32 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 24 Jul 2020 00:03:05 +0000 Subject: [PATCH] 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 --- wp-includes/formatting.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 4281791fbc..ff087ad683 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -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', // ©, ®, °, &hellip, and &trade. '%c2%a9', '%c2%ae', diff --git a/wp-includes/version.php b/wp-includes/version.php index 46e81c5c08..ef57d62540 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.