Removed extra clear parameter from addresses
This commit is contained in:
parent
f1df9e8dd9
commit
5a7af35d46
|
@ -559,7 +559,6 @@ class WC_Countries {
|
||||||
'label' => __( 'Last name', 'woocommerce' ),
|
'label' => __( 'Last name', 'woocommerce' ),
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'class' => array( 'form-row-last' ),
|
'class' => array( 'form-row-last' ),
|
||||||
'clear' => true,
|
|
||||||
'autocomplete' => 'family-name',
|
'autocomplete' => 'family-name',
|
||||||
'priority' => 20,
|
'priority' => 20,
|
||||||
),
|
),
|
||||||
|
@ -612,7 +611,6 @@ class WC_Countries {
|
||||||
'label' => __( 'Postcode / ZIP', 'woocommerce' ),
|
'label' => __( 'Postcode / ZIP', 'woocommerce' ),
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'class' => array( 'form-row-wide', 'address-field' ),
|
'class' => array( 'form-row-wide', 'address-field' ),
|
||||||
'clear' => true,
|
|
||||||
'validate' => array( 'postcode' ),
|
'validate' => array( 'postcode' ),
|
||||||
'autocomplete' => 'postal-code',
|
'autocomplete' => 'postal-code',
|
||||||
'priority' => 90,
|
'priority' => 90,
|
||||||
|
@ -1086,7 +1084,6 @@ class WC_Countries {
|
||||||
$address_fields['billing_email'] = array(
|
$address_fields['billing_email'] = array(
|
||||||
'label' => __( 'Email address', 'woocommerce' ),
|
'label' => __( 'Email address', 'woocommerce' ),
|
||||||
'required' => true,
|
'required' => true,
|
||||||
'clear' => true,
|
|
||||||
'type' => 'email',
|
'type' => 'email',
|
||||||
'class' => array( 'form-row-last' ),
|
'class' => array( 'form-row-last' ),
|
||||||
'validate' => array( 'email' ),
|
'validate' => array( 'email' ),
|
||||||
|
|
Loading…
Reference in New Issue