From 74393bacea15c42ce9e3d279d10151250d477d44 Mon Sep 17 00:00:00 2001 From: Mikhaela Tapia <98727316+mxkae@users.noreply.github.com> Date: Fri, 27 Sep 2024 09:31:06 +0800 Subject: [PATCH] fix (kses): add use tag (#3323) --- src/kses.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kses.php b/src/kses.php index 5a41c6b3b..bc3f295cf 100644 --- a/src/kses.php +++ b/src/kses.php @@ -83,6 +83,9 @@ function stackable_allow_wp_kses_allowed_html( $tags, $context ) { $tags['clippath'] = array(); $tags['filter'] = array(); $tags['g'] = array(); + $tags['use'] = array( + 'xlink:href' => true, + ); $tags['text'] = array( 'font-size' => true, 'font-family' => true,