mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
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) {
|
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
Block a user