summaryrefslogtreecommitdiffstats
path: root/wp-includes/kses.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-08-17 15:34:16 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-08-17 15:34:16 +0000
commit5547be0217e1e73ba81714cdafcf069902c3cada (patch)
tree1d229a7a0e260669dde8ca5fdf630cb5e3c2fd74 /wp-includes/kses.php
parentfb62b8312e9b5b5b737ec80333a1fd081afccd03 (diff)
downloadwordpress-mu-5547be0217e1e73ba81714cdafcf069902c3cada.tar.gz
wordpress-mu-5547be0217e1e73ba81714cdafcf069902c3cada.tar.xz
wordpress-mu-5547be0217e1e73ba81714cdafcf069902c3cada.zip
Filter $allowedposttags and $allowedtags in kses.php
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1040 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/kses.php')
-rw-r--r--wp-includes/kses.php3
1 files changed, 3 insertions, 0 deletions
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();