Reverse backport (?) from 2.0.x of KSES filters

git-svn-id: http://svn.automattic.com/wordpress/trunk@4654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-12-21 04:44:34 +00:00
parent db313621d6
commit d99f7eaf96

View File

@ -534,6 +534,7 @@ function kses_init_filters() {
// Post filtering // Post filtering
add_filter('content_save_pre', 'wp_filter_post_kses'); add_filter('content_save_pre', 'wp_filter_post_kses');
add_filter('excerpt_save_pre', 'wp_filter_post_kses');
add_filter('content_filtered_save_pre', 'wp_filter_post_kses'); add_filter('content_filtered_save_pre', 'wp_filter_post_kses');
} }
@ -544,6 +545,7 @@ function kses_remove_filters() {
// Post filtering // Post filtering
remove_filter('content_save_pre', 'wp_filter_post_kses'); remove_filter('content_save_pre', 'wp_filter_post_kses');
remove_filter('excerpt_save_pre', 'wp_filter_post_kses');
remove_filter('content_filtered_save_pre', 'wp_filter_post_kses'); remove_filter('content_filtered_save_pre', 'wp_filter_post_kses');
} }