Error in previous commit.
This commit is contained in:
parent
80d08787a8
commit
b470e64b61
|
@ -421,7 +421,7 @@ class WC_Meta_Box_Order_Data {
|
|||
if ( ! isset( $field['id'] ) ){
|
||||
$field['id'] = '_shipping_' . $key;
|
||||
}
|
||||
update_post_meta( $post_id, $field['id'], wc_clean( $field['id'] ] ) );
|
||||
update_post_meta( $post_id, $field['id'], wc_clean( $_POST[ $field['id'] ] ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue