Merge branch 'pr/22596'

This commit is contained in:
Mike Jolley 2019-02-05 11:02:29 +00:00
commit 592e0abe22
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class WC_Structured_Data {
}
$markup['image'] = wp_get_attachment_url( $product->get_image_id() );
$markup['description'] = wpautop( do_shortcode( $product->get_short_description() ? $product->get_short_description() : $product->get_description() ) );
$markup['description'] = wp_strip_all_tags( do_shortcode( $product->get_short_description() ? $product->get_short_description() : $product->get_description() ) );
$markup['sku'] = $product->get_sku();
if ( '' !== $product->get_price() ) {