From 7ccef801d139cc10c86b176a9d0e922936c8065e Mon Sep 17 00:00:00 2001 From: Max Rice Date: Thu, 24 May 2012 23:34:58 -0400 Subject: [PATCH] fixed typo preventing user_email from updating on checkout --- classes/class-wc-checkout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/class-wc-checkout.php b/classes/class-wc-checkout.php index d6ef17c7aee..31f881e0701 100644 --- a/classes/class-wc-checkout.php +++ b/classes/class-wc-checkout.php @@ -422,7 +422,7 @@ class WC_Checkout { // Special fields switch ($key) { - case "billing_emaill" : + case "billing_email" : if (!email_exists($this->posted[$key])) wp_update_user( array ( 'ID' => $user_id, 'user_email' => $this->posted[$key] ) ) ; break; case "billing_first_name" :