From e8bcd464dbfcaaf9551d91a86a0c6bb69cb3671a Mon Sep 17 00:00:00 2001 From: roykho Date: Fri, 16 Oct 2020 06:00:34 -0700 Subject: [PATCH] Update escape based on suggestion --- includes/admin/meta-boxes/class-wc-meta-box-order-data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/meta-boxes/class-wc-meta-box-order-data.php b/includes/admin/meta-boxes/class-wc-meta-box-order-data.php index 3088d758b4c..ba348853fe3 100644 --- a/includes/admin/meta-boxes/class-wc-meta-box-order-data.php +++ b/includes/admin/meta-boxes/class-wc-meta-box-order-data.php @@ -345,7 +345,7 @@ class WC_Meta_Box_Order_Data { if ( 'billing_phone' === $field_name ) { $field_value = wc_make_phone_clickable( $field_value ); } elseif ( 'billing_email' === $field_name ) { - $field_value = '' . esc_html( $field_value ) . ''; + $field_value = '' . $field_value . ''; } else { $field_value = make_clickable( esc_html( $field_value ) ); }