diff --git a/includes/admin/post-types/meta-boxes/class-wc-meta-box-order-items.php b/includes/admin/post-types/meta-boxes/class-wc-meta-box-order-items.php index 6ed1d957f07..71fc7876006 100644 --- a/includes/admin/post-types/meta-boxes/class-wc-meta-box-order-items.php +++ b/includes/admin/post-types/meta-boxes/class-wc-meta-box-order-items.php @@ -172,6 +172,7 @@ class WC_Meta_Box_Order_Items { foreach ( $meta_keys as $id => $meta_key ) { $meta_value = ( empty( $meta_values[ $id ] ) && ! is_numeric( $meta_values[ $id ] ) ) ? '' : $meta_values[ $id ]; + $meta_value = stripslashes( $meta_value ); $wpdb->update( $wpdb->prefix . "woocommerce_order_itemmeta", array(