Don't forget to strip

git-svn-id: https://develop.svn.wordpress.org/trunk@1665 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-09-16 01:08:50 +00:00
parent 3776531128
commit 5b73909f79
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ function sanitize_title($title, $fallback_title = '') {
}
function sanitize_title_with_dashes($title) {
$title = strip_tags($title);
$title = remove_accents($title);
if (seems_utf8($title)) {
if (function_exists('mb_strtolower')) {