From 5cf4b39065944a1a415acc4807ca2920195b2bfc Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 27 Jul 2004 15:12:18 +0000 Subject: [PATCH] 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 --- wp-includes/functions-formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions-formatting.php b/wp-includes/functions-formatting.php index 9b7e91681f..f3badba605 100644 --- a/wp-includes/functions-formatting.php +++ b/wp-includes/functions-formatting.php @@ -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; }