From 0aa2f160a96cfd604cfde25eb88445dbcd9ee1dc Mon Sep 17 00:00:00 2001 From: Shohei Tanaka Date: Tue, 6 Aug 2019 20:10:15 +0900 Subject: [PATCH 1/2] Update address setting for Japanese Update setting for Japanese Name and postcode and Prefecture. --- includes/class-wc-countries.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/includes/class-wc-countries.php b/includes/class-wc-countries.php index 1abcf8258ed..7cc873b639a 100644 --- a/includes/class-wc-countries.php +++ b/includes/class-wc-countries.php @@ -992,11 +992,21 @@ class WC_Countries { ), ), 'JP' => array( + 'last_name' => array( + 'class' => array( 'form-row-first' ), + 'priority' => 10, + ), + 'first_name'=> array( + 'class' => array( 'form-row-last' ), + 'priority' => 20, + ), 'postcode' => array( + 'class' => array( 'form-row-first' ), 'priority' => 65, ), 'state' => array( 'label' => __( 'Prefecture', 'woocommerce' ), + 'class' => array( 'form-row-last' ), 'priority' => 66, ), 'city' => array( From 4312dc48343e80d4e4187b886fe0052133282c06 Mon Sep 17 00:00:00 2001 From: Shohei Tanaka Date: Tue, 6 Aug 2019 21:41:16 +0900 Subject: [PATCH 2/2] add space I added space --- includes/class-wc-countries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-countries.php b/includes/class-wc-countries.php index 7cc873b639a..4d08b8d29b1 100644 --- a/includes/class-wc-countries.php +++ b/includes/class-wc-countries.php @@ -996,7 +996,7 @@ class WC_Countries { 'class' => array( 'form-row-first' ), 'priority' => 10, ), - 'first_name'=> array( + 'first_name' => array( 'class' => array( 'form-row-last' ), 'priority' => 20, ),