From 13d390e40f1c3bc3174d81c7727633a3d4b90694 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 6 Jul 2007 22:47:24 +0000 Subject: [PATCH] Pass extra args to pre_kses hook. Props mdawaffe. see #4409 git-svn-id: https://develop.svn.wordpress.org/trunk@5787 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/kses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index a014664d10..4d8f97ec87 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -240,7 +240,7 @@ function wp_kses_hook($string, $allowed_html, $allowed_protocols) # You add any kses hooks here. ############################################################################### { - $string = apply_filters( 'pre_kses', $string ); + $string = apply_filters('pre_kses', $string, $allowed_html, $allowed_protocols); return $string; } # function wp_kses_hook