Don't forget to strip

git-svn-id: http://svn.automattic.com/wordpress/trunk@1665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-09-16 01:08:50 +00:00
parent e8f22c65a2
commit 33cd55d276

View File

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