another few stripslashes

This commit is contained in:
real_nowhereman 2008-03-27 17:53:47 +00:00
parent 8b0fecce71
commit 52e9109843

View File

@ -14,15 +14,14 @@ add_filter('the_excerpt', 'wptexturize');
add_filter('bloginfo', 'wptexturize'); add_filter('bloginfo', 'wptexturize');
// Comments, trackbacks, pingbacks // Comments, trackbacks, pingbacks
add_filter('pre_comment_author_name', 'stripslashes');
add_filter('pre_comment_author_name', 'trim'); add_filter('pre_comment_author_name', 'trim');
add_filter('pre_comment_author_name', 'wp_specialchars', 30); add_filter('pre_comment_author_name', 'wp_specialchars', 30);
add_filter('pre_comment_author_email', 'trim'); add_filter('pre_comment_author_email', 'trim');
add_filter('pre_comment_fauthor_email', 'sanitize_email'); 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', 'trim');
//add_filter('pre_comment_author_url', 'clean_url');
add_filter('pre_comment_content', 'stripslashes', 1); add_filter('pre_comment_content', 'stripslashes', 1);