Properly format variation description in REST API v2
This commit is contained in:
parent
f3c2e6c5f6
commit
fc9ba64e50
|
@ -158,7 +158,7 @@ class WC_REST_Product_Variations_Controller extends WC_REST_Products_Controller
|
|||
'date_created_gmt' => wc_rest_prepare_date_response( $object->get_date_created() ),
|
||||
'date_modified' => wc_rest_prepare_date_response( $object->get_date_modified(), false ),
|
||||
'date_modified_gmt' => wc_rest_prepare_date_response( $object->get_date_modified() ),
|
||||
'description' => $object->get_description(),
|
||||
'description' => wc_format_content( $object->get_description() ),
|
||||
'permalink' => $object->get_permalink(),
|
||||
'sku' => $object->get_sku(),
|
||||
'price' => $object->get_price(),
|
||||
|
|
Loading…
Reference in New Issue