Skip to content
Snippets Groups Projects
Commit 568fa8e5 authored by Piotr Potrebka's avatar Piotr Potrebka
Browse files

fix: get_sublabel

parent d5b6270d
No related branches found
No related tags found
1 merge request!31Devel
Pipeline #153140 failed with stages
in 58 seconds
......@@ -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>
......
......@@ -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; ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment