• Resolved timholz

    (@timholz)


    Hi – i noticed, that line 28 in customer-on-hold-order.php does not work.

    <p><?php printf( __( 'Hi %s,', 'woocommerce' ), $order->get_billing_first_name() ); ?></p><?php // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>
    

    It was ignored completely.

    I changed it to:

    <p><?php echo 'Bonjour, ' . $order->get_billing_first_name(); ?></p><?php // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped ?>

    and noticed that it works.
    Why does the original code not work?
    regards
    theo

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘customer-on-hold-order.php did not display the billing first name’ is closed to new replies.