strip_tags from title in sanitize_title(). Patch from Masquerade for bugs 0000181 and 00000107.

git-svn-id: https://develop.svn.wordpress.org/trunk@1488 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-07-27 15:12:18 +00:00
parent 3a5935b85a
commit 5cf4b39065
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ function remove_accents($string) {
function sanitize_title($title, $fallback_title = '') {
$title = apply_filters('sanitize_title', $title);
$title = strip_tags($title);
if (empty($title)) {
$title = $fallback_title;
}