From 568fa8e5090d4b6817323ac611f049b9cc612735 Mon Sep 17 00:00:00 2001 From: Piotr Potrebka <piotr.potrebka@wpdesk.net> Date: Wed, 1 Feb 2023 13:46:06 +0100 Subject: [PATCH] fix: get_sublabel --- templates/input-text-multiple.php | 2 +- templates/input.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/input-text-multiple.php b/templates/input-text-multiple.php index 05e7d29..4f87610 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 \esc_html( $field->get_sublabel() ); ?></label> + <?php echo $field->get_sublabel(); ?></label> <?php endif; ?> <?php endforeach; ?> </div> diff --git a/templates/input.php b/templates/input.php index 4b8eb6a..e5e950a 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 \esc_html( $field->get_sublabel() ); ?></label> + <?php echo $field->get_sublabel(); ?></label> <?php endif; ?> -- GitLab