From 5a7af35d466ab74097700ba943d7b474288a6c93 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Wed, 5 Apr 2017 11:57:39 -0300 Subject: [PATCH] Removed extra clear parameter from addresses --- includes/class-wc-countries.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/class-wc-countries.php b/includes/class-wc-countries.php index c01201fe0d6..0a6908750b9 100644 --- a/includes/class-wc-countries.php +++ b/includes/class-wc-countries.php @@ -559,7 +559,6 @@ class WC_Countries { 'label' => __( 'Last name', 'woocommerce' ), 'required' => true, 'class' => array( 'form-row-last' ), - 'clear' => true, 'autocomplete' => 'family-name', 'priority' => 20, ), @@ -612,7 +611,6 @@ class WC_Countries { 'label' => __( 'Postcode / ZIP', 'woocommerce' ), 'required' => true, 'class' => array( 'form-row-wide', 'address-field' ), - 'clear' => true, 'validate' => array( 'postcode' ), 'autocomplete' => 'postal-code', 'priority' => 90, @@ -1086,7 +1084,6 @@ class WC_Countries { $address_fields['billing_email'] = array( 'label' => __( 'Email address', 'woocommerce' ), 'required' => true, - 'clear' => true, 'type' => 'email', 'class' => array( 'form-row-last' ), 'validate' => array( 'email' ),