Code standards update for #4675
This commit is contained in:
parent
e934f293e9
commit
0033d6d116
|
@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
<optgroup label="<?php _e( 'Tax Rate', 'woocommerce' ); ?>">
|
<optgroup label="<?php _e( 'Tax Rate', 'woocommerce' ); ?>">
|
||||||
<option value=""><?php _e( 'N/A', 'woocommerce' ); ?></option>
|
<option value=""><?php _e( 'N/A', 'woocommerce' ); ?></option>
|
||||||
<?php foreach( $tax_codes as $tax_id => $tax_code ) : ?>
|
<?php foreach( $tax_codes as $tax_id => $tax_code ) : ?>
|
||||||
<option value="<?php echo $tax_id; ?>" <?php selected( $tax_id, isset( $item['rate_id'] ) ? $item['rate_id'] : '' ); ?>><?php echo esc_html( urldecode($tax_code) ); ?></option>
|
<option value="<?php echo $tax_id; ?>" <?php selected( $tax_id, isset( $item['rate_id'] ) ? $item['rate_id'] : '' ); ?>><?php echo esc_html( urldecode( $tax_code ) ); ?></option>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</optgroup>
|
</optgroup>
|
||||||
</select>
|
</select>
|
||||||
|
|
Loading…
Reference in New Issue