[onboard wizard] Remove required attribute from currency_code form element so it is not required
This commit is contained in:
parent
6027b355ca
commit
27db35dd12
|
@ -304,7 +304,7 @@ class WC_Admin_Setup_Wizard {
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="currency_code"><?php _e( 'Which currency will your store use?', 'woocommerce' ); ?></label></th>
|
<th scope="row"><label for="currency_code"><?php _e( 'Which currency will your store use?', 'woocommerce' ); ?></label></th>
|
||||||
<td>
|
<td>
|
||||||
<select id="currency_code" name="currency_code" required style="width:100%;" data-placeholder="<?php esc_attr_e( 'Choose a currency…', 'woocommerce' ); ?>" class="wc-enhanced-select">
|
<select id="currency_code" name="currency_code" style="width:100%;" data-placeholder="<?php esc_attr_e( 'Choose a currency…', 'woocommerce' ); ?>" class="wc-enhanced-select">
|
||||||
<option value=""><?php _e( 'Choose a currency…', 'woocommerce' ); ?></option>
|
<option value=""><?php _e( 'Choose a currency…', 'woocommerce' ); ?></option>
|
||||||
<?php
|
<?php
|
||||||
foreach ( get_woocommerce_currencies() as $code => $name ) {
|
foreach ( get_woocommerce_currencies() as $code => $name ) {
|
||||||
|
|
Loading…
Reference in New Issue