Merge pull request #14049 from woocommerce/fix/variation-description-sanitization
Removed extra variation description extra sanitization
This commit is contained in:
commit
b16d3a091c
|
@ -384,7 +384,7 @@ class WC_Meta_Box_Product_Data {
|
||||||
'downloadable' => isset( $_POST['variable_is_downloadable'][ $i ] ),
|
'downloadable' => isset( $_POST['variable_is_downloadable'][ $i ] ),
|
||||||
'date_on_sale_from' => wc_clean( $_POST['variable_sale_price_dates_from'][ $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 ] ),
|
'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_limit' => wc_clean( $_POST['variable_download_limit'][ $i ] ),
|
||||||
'download_expiry' => wc_clean( $_POST['variable_download_expiry'][ $i ] ),
|
'download_expiry' => wc_clean( $_POST['variable_download_expiry'][ $i ] ),
|
||||||
'downloads' => self::prepare_downloads(
|
'downloads' => self::prepare_downloads(
|
||||||
|
|
Loading…
Reference in New Issue