From 5547be0217e1e73ba81714cdafcf069902c3cada Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 17 Aug 2007 15:34:16 +0000 Subject: Filter $allowedposttags and $allowedtags in kses.php git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1040 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/kses.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wp-includes/kses.php') diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 887e87d..bca25be 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -786,6 +786,9 @@ function wp_filter_post_display_kses($data) { } function kses_init() { + global $allowedposttags, $allowedtags; + apply_filters( 'edit_allowedposttags', $allowedposttags ); + apply_filters( 'edit_allowedtags', $allowedtags ); kses_remove_filters(); kses_init_filters(); -- cgit