Fix double escape
This commit is contained in:
parent
f511718996
commit
df02507c47
|
@ -25,7 +25,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
|
||||
|
||||
<?php /* translators: %1$s: Order number, %2$s: Customer full name. */ ?>
|
||||
<p><?php printf( esc_html__( 'Alas. Just to let you know — order #%1$s belonging to %2$s has been cancelled:', 'woocommerce' ), esc_html( esc_html( $order->get_order_number(), $order->get_formatted_billing_full_name() ) ) ); ?></p>
|
||||
<p><?php printf( 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() ) ); ?></p>
|
||||
|
||||
<?php
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
echo '= ' . esc_html( $email_heading ) . " =\n\n";
|
||||
|
||||
/* translators: %1$s: Customer full name. %2$s: Order numer */
|
||||
echo sprintf( esc_html__( 'Alas. Just to let you know — order #%1$s belonging to %2$s has been cancelled:', 'woocommerce' ), esc_html( esc_html( $order->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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue