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/checkout/fields/text.php +4 -2 1.2.22.7.0 View file →
@@ -31,10 +31,12 @@
31 31 * @return void
32 32 * @since 1.1.0
33 33 */
34 34 public function field( $field, $args, $key ) {
35 + $placeholder = $this->placeholder_required_value( $args );
36 +
35 37 ?>
36 - <p id="<?php echo $key; ?>_field" data-priority="">
38 + <p id="<?php echo esc_attr( $key ); ?>_field" data-priority="">
37 39 <span class="woocommerce-input-wrapper">
38 40 <input
39 41 type="text"
40 42 class="input-text empty"
@@ -39,9 +41,9 @@
39 41 type="text"
40 42 class="input-text empty"
41 43 name="<?php echo esc_attr( $key ); ?>"
42 44 id="<?php echo esc_attr( $key ); ?>"
43 - placeholder="<?php echo ( array_key_exists( 'label', $args ) ) ? esc_attr( $args['label'] ) : ''; ?>"
45 + placeholder="<?php echo esc_attr( $placeholder ); ?>"
44 46 value="<?php echo ( array_key_exists( 'default', $args ) ) ? esc_attr( $args['default'] ) : ''; ?>"
45 47 >
46 48 </span>
47 49 </p>