Skip to content

Commit

Permalink
wp_kses_post() for consent text.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersonrabb committed Feb 11, 2019
1 parent 6961def commit 89d53f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/blocks/mailchimp/mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function jetpack_mailchimp_block_load_assets( $attr ) {
</button>
<p>
<small>
<?php echo esc_html( $values['consentText'] ); ?>
<?php echo wp_kses_post( $values['consentText'] ); ?>
</small>
</p>
</form>
Expand Down

0 comments on commit 89d53f0

Please sign in to comment.