Restored emails settings default values

Closes #15574
This commit is contained in:
Claudio Sanches 2017-06-13 20:00:50 -03:00
parent 6d1c133a3e
commit 62c65e778b
1 changed files with 2 additions and 0 deletions

View File

@ -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' );