From 52e9109843db1d23ee8cbfb47f1a69b5f71d9187 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Thu, 27 Mar 2008 17:53:47 +0000 Subject: [PATCH] another few stripslashes --- fp-includes/core/core.wp-default-filters.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fp-includes/core/core.wp-default-filters.php b/fp-includes/core/core.wp-default-filters.php index 25c8ba2..a7f198a 100755 --- a/fp-includes/core/core.wp-default-filters.php +++ b/fp-includes/core/core.wp-default-filters.php @@ -14,15 +14,14 @@ add_filter('the_excerpt', 'wptexturize'); add_filter('bloginfo', 'wptexturize'); // Comments, trackbacks, pingbacks +add_filter('pre_comment_author_name', 'stripslashes'); add_filter('pre_comment_author_name', 'trim'); add_filter('pre_comment_author_name', 'wp_specialchars', 30); add_filter('pre_comment_author_email', 'trim'); add_filter('pre_comment_fauthor_email', 'sanitize_email'); -add_filter('pre_comment_author_name', 'wp_specialchars', 30); add_filter('pre_comment_author_url', 'trim'); -//add_filter('pre_comment_author_url', 'clean_url'); add_filter('pre_comment_content', 'stripslashes', 1);