Changeset 2874889
- Timestamp:
- 03/05/2023 08:20:19 AM (3 years ago)
- Location:
- woo-pelecard-gateway/trunk
- Files:
-
- 2 edited
-
includes/Settings.php (modified) (1 diff)
-
templates/checkout/wpg-total-payments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woo-pelecard-gateway/trunk/includes/Settings.php
r2871914 r2874889 497 497 $container.on( 'click', 'a.add', function() { 498 498 var size = $container.find( 'tbody .range' ).length; 499 var field = '<?php echo $field_key; ?>[' + size + ']';499 var field = '<?php echo esc_js( $field_key ); ?>[' + size + ']'; 500 500 501 501 jQuery( '<tr class="range">\ -
woo-pelecard-gateway/trunk/templates/checkout/wpg-total-payments.php
r2871914 r2874889 21 21 <?php foreach ( $payments as $payment ) : ?> 22 22 <option value="<?php echo esc_attr( $payment ); ?>"> 23 <?php echo ( $min_credit <= $payment ) ? sprintf( __( '%s (Credit)', 'woo-pelecard-gateway' ), $payment ) : $payment; ?> 23 <?php 24 $option_html = ( $min_credit <= $payment ) 25 ? sprintf( __( '%s (Credit)', 'woo-pelecard-gateway' ), $payment ) 26 : $payment; 27 28 echo esc_html( $option_html ); 29 ?> 24 30 </option> 25 31 <?php endforeach; ?>
Note: See TracChangeset
for help on using the changeset viewer.