mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user