diff --git a/includes/admin/meta-boxes/views/html-order-item.php b/includes/admin/meta-boxes/views/html-order-item.php
index 3879f7b3ad6..f6c5e0b742b 100644
--- a/includes/admin/meta-boxes/views/html-order-item.php
+++ b/includes/admin/meta-boxes/views/html-order-item.php
@@ -19,7 +19,7 @@ $row_class = apply_filters( 'woocommerce_admin_html_order_item_class', ! empt
' . esc_html( $item->get_name() ) . '' : ' ' . esc_html( $item->get_name() ) . ' ';
+ echo $product_link ? '' . wp_kses_post( $item->get_name() ) . '' : '' . wp_kses_post( $item->get_name() ) . ' ';
if ( $product && $product->get_sku() ) {
echo '' . esc_html__( 'SKU:', 'woocommerce' ) . ' ' . esc_html( $product->get_sku() ) . ' ';
diff --git a/templates/content-widget-product.php b/templates/content-widget-product.php
index f69dbac96db..35e12f3540c 100644
--- a/templates/content-widget-product.php
+++ b/templates/content-widget-product.php
@@ -30,7 +30,7 @@ if ( ! is_a( $product, 'WC_Product' ) ) {
get_image(); ?>
- get_name() ); ?>
+ get_name() ); ?>
|