plugin updates
This commit is contained in:
@@ -508,6 +508,7 @@ class CheckoutFields {
|
||||
'hidden' => false,
|
||||
'autocomplete' => 'email',
|
||||
'autocapitalize' => 'none',
|
||||
'type' => 'email',
|
||||
'index' => 0,
|
||||
],
|
||||
'country' => [
|
||||
@@ -780,7 +781,7 @@ class CheckoutFields {
|
||||
* @return mixed
|
||||
*/
|
||||
public function update_default_locale_with_fields( $locale ) {
|
||||
foreach ( $this->fields_locations['address'] as $field_id => $additional_field ) {
|
||||
foreach ( $this->get_fields_for_location( 'address' ) as $field_id => $additional_field ) {
|
||||
if ( empty( $locale[ $field_id ] ) ) {
|
||||
$locale[ $field_id ] = $additional_field;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user