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/select.php +2 -3 1.7.42.7.0 View file →
@@ -28,9 +28,8 @@
28 28
29 29 public function render_content() {
30 30 $field = $this->field;
31 31 $options = preg_split( '/\\r\\n|\\r|\\n/', $field['field_options'], -1, PREG_SPLIT_NO_EMPTY );
32 - $attrs = $this->widget->get_render_attribute_string( 'field-' . $this->get_id() );
33 32
34 33 if ( empty( $options ) ) {
35 34 return;
36 35 }
@@ -41,9 +40,9 @@
41 40 <div class="sellkit-field-select-arrow">
42 41 <?php Module::render_icon( $this->widget->get_settings_for_display()['select_arrow_icon'] ); ?>
43 42 </div>
44 43 <?php endif ?>
45 - <select <?php echo $attrs; ?>>
44 + <select <?php echo $this->widget->get_render_attribute_string( 'field-' . esc_attr( $this->get_id() ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Elementor-generated attributes. ?>>
46 45 <?php $this->render_options( $options ); ?>
47 46 </select>
48 47 </div>
49 48 <?php
@@ -67,9 +66,9 @@
67 66
68 67 $this->widget->add_render_attribute( $option_id, $option_args );
69 68
70 69 ?>
71 - <option <?php echo $this->widget->get_render_attribute_string( $option_id ); ?>>
70 + <option <?php echo $this->widget->get_render_attribute_string( $option_id ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Elementor-generated attributes. ?>>
72 71 <?php echo esc_html( $option_label ); ?>
73 72 </option>
74 73 <?php
75 74 }