diff --git a/wp-includes/functions-formatting.php b/wp-includes/functions-formatting.php index 95fa576cc9..ff0da469ca 100644 --- a/wp-includes/functions-formatting.php +++ b/wp-includes/functions-formatting.php @@ -227,7 +227,7 @@ function sanitize_title_with_dashes($title) { $title = strtolower($title); $title = preg_replace('/&.+?;/', '', $title); // kill entities - $title = preg_replace('/[^%a-z0-9 _-]/', '', $title); + $title = preg_replace('/[^a-z0-9 _-]/', '', $title); $title = preg_replace('/\s+/', '-', $title); $title = preg_replace('|-+|', '-', $title); $title = trim($title, '-'); @@ -573,4 +573,4 @@ function human_time_diff( $from, $to = '' ) { return $since; } -?> \ No newline at end of file +?>