From 729416a3b5d0ebc65c6bec5ae3eec2514c58f185 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 22 Feb 2017 11:32:54 +0000 Subject: [PATCH] Non prefixed delete/set --- includes/class-wc-order-item.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/class-wc-order-item.php b/includes/class-wc-order-item.php index e00705111ad..5fef49158a7 100644 --- a/includes/class-wc-order-item.php +++ b/includes/class-wc-order-item.php @@ -253,6 +253,7 @@ class WC_Order_Item extends WC_Data implements ArrayAccess { } $this->update_meta_data( '_' . $offset, $value ); + $this->update_meta_data( $offset, $value ); } /** @@ -276,6 +277,7 @@ class WC_Order_Item extends WC_Data implements ArrayAccess { } $this->delete_meta_data( '_' . $offset ); + $this->delete_meta_data( $offset ); } /**