mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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
This commit is contained in:
parent
d5842abd35
commit
b721942f26
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user