diff --git a/plugins/woocommerce/changelog/52399-fix-empty-last4-rendering b/plugins/woocommerce/changelog/52399-fix-empty-last4-rendering new file mode 100644 index 00000000000..b84ae414d39 --- /dev/null +++ b/plugins/woocommerce/changelog/52399-fix-empty-last4-rendering @@ -0,0 +1,4 @@ +Significance: minor +Type: fix + +Avoid rendering the dash in the receipts when there's no info about the card used to pay the order. \ No newline at end of file diff --git a/plugins/woocommerce/src/Internal/ReceiptRendering/Templates/order-receipt.php b/plugins/woocommerce/src/Internal/ReceiptRendering/Templates/order-receipt.php index 2ed7b873930..3b1bae1d76c 100644 --- a/plugins/woocommerce/src/Internal/ReceiptRendering/Templates/order-receipt.php +++ b/plugins/woocommerce/src/Internal/ReceiptRendering/Templates/order-receipt.php @@ -26,7 +26,10 @@

- - + + + - +