From b721942f26ad20fd1e21de2be3b0dfb4cd35eebd Mon Sep 17 00:00:00 2001 From: markjaquith 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: http://svn.automattic.com/wordpress/trunk@5787 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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