Reverse backport (?) from 2.0.x of KSES filters
git-svn-id: https://develop.svn.wordpress.org/trunk@4654 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fb68433d22
commit
3357b71e0e
@ -534,6 +534,7 @@ function kses_init_filters() {
|
||||
|
||||
// Post filtering
|
||||
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');
|
||||
}
|
||||
|
||||
@ -544,6 +545,7 @@ function kses_remove_filters() {
|
||||
|
||||
// Post filtering
|
||||
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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user