diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index d408142750..98d258bc0e 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -676,6 +676,7 @@ function sanitize_title_with_dashes($title) { $title = strtolower($title); $title = preg_replace('/&.+?;/', '', $title); // kill entities + $title = str_replace('.', '-', $title); $title = preg_replace('/[^%a-z0-9 _-]/', '', $title); $title = preg_replace('/\s+/', '-', $title); $title = preg_replace('|-+|', '-', $title);