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:
parent
e8f22c65a2
commit
33cd55d276
|
@ -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')) {
|
||||
|
|
Loading…
Reference in New Issue