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

git-svn-id: https://develop.svn.wordpress.org/trunk@2896 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-09-20 22:18:47 +00:00
parent c7e5d7ee7e
commit f1660060ca
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