From 16870c9c255aaf3cafe6168e29be8015990bc40f Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 19 Jul 2017 14:30:47 +0100 Subject: [PATCH] Fix copy pasta errors in refunded email template Closes #16157 --- includes/emails/class-wc-email-customer-refunded-order.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/emails/class-wc-email-customer-refunded-order.php b/includes/emails/class-wc-email-customer-refunded-order.php index 8a17908efbf..f09b859d986 100644 --- a/includes/emails/class-wc-email-customer-refunded-order.php +++ b/includes/emails/class-wc-email-customer-refunded-order.php @@ -74,9 +74,9 @@ class WC_Email_Customer_Refunded_Order extends WC_Email { */ public function get_default_heading( $partial = false ) { if ( $partial ) { - return __( 'Order {order_number} details', 'woocommerce' ); - } else { return __( 'Your order has been partially refunded', 'woocommerce' ); + } else { + return __( 'Order {order_number} details', 'woocommerce' ); } } @@ -90,7 +90,7 @@ class WC_Email_Customer_Refunded_Order extends WC_Email { if ( $this->partial_refund ) { $subject = $this->get_option( 'subject_partial', $this->get_default_subject( true ) ); } else { - $subject = $this->get_option( 'subject_full', $this->get_default_heading() ); + $subject = $this->get_option( 'subject_full', $this->get_default_subject() ); } return apply_filters( 'woocommerce_email_subject_customer_refunded_order', $this->format_string( $subject ), $this->object ); }