Admin metabox billing information save fix
This commit is contained in:
parent
0c9962cf93
commit
d852e14bea
|
@ -357,7 +357,7 @@ class WC_Meta_Box_Order_Data {
|
|||
update_post_meta( $post_id, '_customer_user', absint( $_POST['customer_user'] ) );
|
||||
|
||||
if ( self::$billing_fields )
|
||||
foreach ( self::$shipping_fields as $key => $field )
|
||||
foreach ( self::$billing_fields as $key => $field )
|
||||
update_post_meta( $post_id, '_billing_' . $key, wc_clean( $_POST[ '_billing_' . $key ] ) );
|
||||
|
||||
if ( self::$shipping_fields )
|
||||
|
|
Loading…
Reference in New Issue