From 4032167f6c4bc26b14ae96ae7df78ff3101d80f6 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 6 Apr 2017 13:21:34 -0300 Subject: [PATCH] Removed extra variation description extra sanitization --- includes/admin/meta-boxes/class-wc-meta-box-product-data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/meta-boxes/class-wc-meta-box-product-data.php b/includes/admin/meta-boxes/class-wc-meta-box-product-data.php index e0d312dcf84..51909b9a054 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-product-data.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-product-data.php @@ -384,7 +384,7 @@ class WC_Meta_Box_Product_Data { 'downloadable' => isset( $_POST['variable_is_downloadable'][ $i ] ), 'date_on_sale_from' => wc_clean( $_POST['variable_sale_price_dates_from'][ $i ] ), 'date_on_sale_to' => wc_clean( $_POST['variable_sale_price_dates_to'][ $i ] ), - 'description' => wp_kses_post( wc_sanitize_textarea( $_POST['variable_description'][ $i ] ) ), + 'description' => wp_kses_post( $_POST['variable_description'][ $i ] ), 'download_limit' => wc_clean( $_POST['variable_download_limit'][ $i ] ), 'download_expiry' => wc_clean( $_POST['variable_download_expiry'][ $i ] ), 'downloads' => self::prepare_downloads(