From 62c65e778b3d408806979fd915c8c06c42cad676 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Tue, 13 Jun 2017 20:00:50 -0300 Subject: [PATCH] Restored emails settings default values Closes #15574 --- includes/emails/class-wc-email.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/emails/class-wc-email.php b/includes/emails/class-wc-email.php index b510d026e93..5b7bdf65d46 100644 --- a/includes/emails/class-wc-email.php +++ b/includes/emails/class-wc-email.php @@ -212,6 +212,8 @@ class WC_Email extends WC_Settings_API { } // Settings + $this->heading = $this->get_option( 'heading', $this->get_default_subject() ); + $this->subject = $this->get_option( 'subject', $this->get_default_heading() ); $this->email_type = $this->get_option( 'email_type' ); $this->enabled = $this->get_option( 'enabled' );