PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.7.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.7.0
2.8.0 2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 All 44 releases
← All changes | includes/elementor/modules/product-description/widgets/product-description.php +4 -2 1.2.2 → 2.7.0 View file →
@@ -15,9 +15,9 @@
15 15 return 'sellkit-product-description';
16 16 }
17 17
18 18 public function get_title() {
19 - return __( 'Product Description', 'sellkit' );
19 + return esc_html__( 'Product Description', 'sellkit' );
20 20 }
21 21
22 22 public function get_icon() {
23 23 return 'sellkit-element-icon sellkit-product-description-icon';
@@ -134,12 +134,14 @@
134 134
135 135 if ( empty( $product ) ) {
136 136 return;
137 137 }
138 +
139 + $short_description = 'short_desc' === $settings['content_type'] ? $product->get_short_description() : $product->get_description();
138 140 ?>
139 141 <p class="sellkit-product-description-widget">
140 142 <?php
141 - echo 'short_desc' === $settings['content_type'] ? $product->get_short_description() : $product->get_description();
143 + echo wp_kses_post( $short_description );
142 144 ?>
143 145 </p>
144 146 <?php
145 147 }