From 9041d8160ca75dc12cd32942c9dd0332d28bfa34 Mon Sep 17 00:00:00 2001
From: Piotr Potrebka <piotr.potrebka@wpdesk.net>
Date: Thu, 2 Feb 2023 07:55:25 +0100
Subject: [PATCH] fix: wp_kses_post sublabel

---
 templates/input.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/input.php b/templates/input.php
index e5e950a..29b1484 100644
--- a/templates/input.php
+++ b/templates/input.php
@@ -39,5 +39,5 @@ if ( $field->get_type() === 'checkbox' && $field->has_sublabel() ) :
 />
 
 <?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; ?>
-- 
GitLab