← All changes
|
includes/elementor/modules/checkout/templates/terms.php
+2
-3
1.3.2
→
2.7.0
View file →
| @@ -26,10 +26,10 @@ | ||
| 26 | 26 | |
| 27 | 27 | <?php if ( wc_terms_and_conditions_checkbox_enabled() ) : ?> |
| 28 | 28 | <p class="form-row validate-required"> |
| 29 | 29 | <label class="woocommerce-form__label woocommerce-form__label-for-checkbox checkbox"> |
| 30 | - <input type="checkbox" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" name="terms" <?php checked( apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ), true ); // WPCS: input var ok, csrf ok. ?> id="terms" /> | |
| 31 | - <span class="woocommerce-terms-and-conditions-checkbox-text"><?php wc_terms_and_conditions_checkbox_text(); ?></span> <abbr class="required" title="<?php esc_attr_e( 'required', 'woocommerce' ); ?>">*</abbr> | |
| 30 | + <input type="checkbox" class="woocommerce-form__input woocommerce-form__input-checkbox input-checkbox" name="terms" <?php checked( apply_filters( 'woocommerce_terms_is_checked_default', isset( $_POST['terms'] ) ), true ); // phpcs:ignore WordPress.Security.NonceVerification.Missing -- WooCommerce checkout template; WC validates checkout. ?> id="terms" /> | |
| 31 | + <span class="woocommerce-terms-and-conditions-checkbox-text"><?php wc_terms_and_conditions_checkbox_text(); ?></span> <abbr class="required" title="<?php esc_attr_e( 'required', 'sellkit' ); ?>">*</abbr> | |
| 32 | 32 | </label> |
| 33 | 33 | <input type="hidden" name="terms-field" value="1" /> |
| 34 | 34 | </p> |
| 35 | 35 | <?php endif; ?> |
| @@ -34,7 +34,6 @@ | ||
| 34 | 34 | </p> |
| 35 | 35 | <?php endif; ?> |
| 36 | 36 | </div> |
| 37 | 37 | <?php |
| 38 | - | |
| 39 | 38 | do_action( 'woocommerce_checkout_after_terms_and_conditions' ); |
| 40 | 39 | } |