diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 6acb459c26..911fb905f1 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -2000,6 +2000,8 @@ function sanitize_title_with_dashes( $title, $raw_title = '', $context = 'displa $title = str_replace( array( '%c2%a0', '%e2%80%93', '%e2%80%94' ), '-', $title ); // Convert nbsp, ndash and mdash HTML entities to hyphens $title = str_replace( array( ' ', ' ', '–', '–', '—', '—' ), '-', $title ); + // Convert forward slash to hyphen + $title = str_replace( '/', '-', $title ); // Strip these characters entirely $title = str_replace( array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 8eb8d4cf4c..6af748bc77 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41317'; +$wp_version = '4.9-alpha-41318'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.