Skip to content

Commit c16646e

Browse files
committed
EscapingFunctionsTrait: remove wp_kses_allowed_html() from escaping functions
The `wp_kses_allowed_html()` function is not an escaping function, but retrieves an array of allowed HTML tags and attributes for a given context. Ref: https://developer.wordpress.org/reference/functions/wp_kses_allowed_html/
1 parent 6b716a5 commit c16646e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

WordPress/Helpers/EscapingFunctionsTrait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ trait EscapingFunctionsTrait {
9090
'urlencode_deep' => true,
9191
'urlencode' => true,
9292
'wp_json_encode' => true,
93-
'wp_kses_allowed_html' => true,
9493
'wp_kses_data' => true,
9594
'wp_kses_one_attr' => true,
9695
'wp_kses_post' => true,

0 commit comments

Comments
 (0)