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/field-base.php +3 -3 1.6.82.7.0 View file →
@@ -204,9 +204,9 @@
204 204 $this->add_field_render_attribute();
205 205 $this->add_field_group_render_attribute();
206 206
207 207 ?>
208 - <div <?php echo $this->widget->get_render_attribute_string( 'field-group-' . $this->get_id() ); ?>>
208 + <div <?php echo $this->widget->get_render_attribute_string( 'field-group-' . esc_attr( $this->get_id() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Elementor-generated attributes. ?>>
209 209 <?php
210 210 $this->render_label();
211 211 $this->render_content();
212 212 ?>
@@ -300,11 +300,11 @@
300 300 }
301 301
302 302 ?>
303 303 <label
304 - for="optin-field-<?php echo $this->get_id(); ?>"
304 + for="optin-field-<?php echo esc_attr( $this->get_id() ); ?>"
305 305 class="sellkit-field-label">
306 - <?php echo $this->field['label']; ?>
306 + <?php echo wp_kses_post( $this->field['label'] ); ?>
307 307 <?php if ( isset( $this->field['required'] ) && 'true' === $this->field['required'] ) : ?>
308 308 <span class="required-mark-label"></span>
309 309 <?php endif ?>
310 310 </label>