PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.7.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.7.0
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
← All changes | includes/elementor/modules/optin/fields/acceptance.php +3 -5 1.5.82.7.0 View file →
@@ -20,18 +20,16 @@
20 20 }
21 21 }
22 22
23 23 public function render_content() {
24 - $attrs = $this->widget->get_render_attribute_string( 'field-' . $this->get_id() );
25 -
26 24 ?>
27 25 <div class="sellkit-field-subgroup">
28 26 <span class="sellkit-field-option sellkit-field-option-checkbox">
29 - <input <?php echo $attrs; ?>>
27 + <input <?php echo $this->widget->get_render_attribute_string( 'field-' . esc_attr( $this->get_id() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Elementor-generated attributes. ?>>
30 28 <label
31 - for="optin-field-<?php echo $this->get_id(); ?>"
29 + for="optin-field-<?php echo esc_attr( $this->get_id() ); ?>"
32 30 class="sellkit-field-label">
33 - <?php echo $this->field['acceptance_text']; ?>
31 + <?php echo wp_kses_post( $this->field['acceptance_text'] ); ?>
34 32 <?php if ( isset( $this->field['required'] ) && 'true' === $this->field['required'] ) : ?>
35 33 <span class="required-mark-label"></span>
36 34 <?php endif ?>
37 35 </label>