From b11868591633822ea4d2830c0ac34eeb7685f844 Mon Sep 17 00:00:00 2001 From: Piotr Potrebka <piotr.potrebka@wpdesk.net> Date: Thu, 2 Feb 2023 07:57:39 +0100 Subject: [PATCH] fix: wp_kses_post sublabel --- templates/input-text-multiple.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/input-text-multiple.php b/templates/input-text-multiple.php index 4f87610..4caa54e 100644 --- a/templates/input-text-multiple.php +++ b/templates/input-text-multiple.php @@ -57,7 +57,7 @@ if ( empty( $value ) || is_string( $value ) ) { </div> <?php if ( $field->get_type() === 'checkbox' && $field->has_sublabel() ) : ?> - <?php echo $field->get_sublabel(); ?></label> + <?php echo wp_kses_post( $field->get_sublabel() ); ?></label> <?php endif; ?> <?php endforeach; ?> </div> -- GitLab