diff --git a/includes/admin/wc-admin-functions.php b/includes/admin/wc-admin-functions.php index e43af43a08a..58d665c332b 100644 --- a/includes/admin/wc-admin-functions.php +++ b/includes/admin/wc-admin-functions.php @@ -197,7 +197,7 @@ function wc_save_order_items( $order_id, $items ) { if ( isset( $items['order_item_name'][ $item_id ] ) ) { $wpdb->update( $wpdb->prefix . 'woocommerce_order_items', - array( 'order_item_name' => wc_clean( $items['order_item_name'][ $item_id ] ) ), + array( 'order_item_name' => wc_clean( stripslashes( $items['order_item_name'][ $item_id ] ) ) ), array( 'order_item_id' => $item_id ), array( '%s' ), array( '%d' )