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:
parent
3776531128
commit
5b73909f79
|
@ -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')) {
|
||||||
|
|
Loading…
Reference in New Issue