Skip to content

Commit

Permalink
fix: escaping html entities (#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored and sabbir1991 committed Mar 20, 2019
1 parent d88d1f5 commit aa2b879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/product-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function dokan_product_output_variations() {

<div id="dokan-info-message" class="dokan-alert dokan-alert-info">
<p>
<?php esc_html_e( 'Before you can add a variation you need to add some variation attributes on the <strong>Attributes</strong> section', 'dokan-lite' ); ?>
<?php echo wp_kses( __( 'Before you can add a variation you need to add some variation attributes on the <strong>Attributes</strong> section', 'dokan-lite' ), [ 'strong' => [] ] ); ?>
</p>
</div>

Expand Down

0 comments on commit aa2b879

Please sign in to comment.