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

fix: wp_kses_post sublabel

parent 9041d816
No related branches found
No related tags found
1 merge request!31Devel
Pipeline #153400 failed with stages
in 57 seconds
......@@ -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>
......
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