diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 83579d26ec..460a6b8038 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -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', diff --git a/wp-includes/version.php b/wp-includes/version.php index f4f3be5b11..e1f9e1ad24 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.