Filter posts with kses for users who do not have the unfiltered_html cap. Props donncha. fixes #1674

git-svn-id: http://svn.automattic.com/wordpress/trunk@2896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-09-20 22:18:47 +00:00
parent b03de9abe4
commit 42d6530c36
2 changed files with 290 additions and 324 deletions

View File

@ -25,7 +25,6 @@ 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', 'wp_filter_kses');
add_filter('pre_comment_content', 'wp_rel_nofollow', 15);
add_filter('pre_comment_content', 'balanceTags', 30);
add_filter('pre_comment_content', 'addslashes', 50);

File diff suppressed because one or more lines are too long