diff --git a/templates/emails/admin-cancelled-order.php b/templates/emails/admin-cancelled-order.php index e8b49b109de..8c9f05f83c2 100644 --- a/templates/emails/admin-cancelled-order.php +++ b/templates/emails/admin-cancelled-order.php @@ -25,7 +25,7 @@ if ( ! defined( 'ABSPATH' ) ) { do_action( 'woocommerce_email_header', $email_heading, $email ); ?> -

get_order_number(), $order->get_formatted_billing_full_name() ) ) ); ?>

+

get_order_number() ), esc_html( $order->get_formatted_billing_full_name() ) ); ?>

get_order_number(), $order->get_formatted_billing_full_name() ) ) ) . "\n\n"; +echo sprintf( esc_html__( 'Alas. Just to let you know — order #%1$s belonging to %2$s has been cancelled:', 'woocommerce' ), esc_html( $order->get_order_number() ), esc_html( $order->get_formatted_billing_full_name() ) ) . "\n\n"; echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";