Merge pull request #8390 from tamarazuk/master
[2.3] Fix bug introduced in #8365
This commit is contained in:
commit
4965d0204e
|
@ -203,7 +203,7 @@ class WC_Settings_Emails extends WC_Settings_Page {
|
|||
if ( in_array( $current_section, array_map( 'sanitize_title', array_keys( $wc_emails->get_emails() ) ) ) ) {
|
||||
foreach ( $wc_emails->get_emails() as $email_id => $email ) {
|
||||
if ( $current_section === sanitize_title( $email_id ) ) {
|
||||
do_action( 'woocommerce_update_options_' . $this->id . '_' . $email_id );
|
||||
do_action( 'woocommerce_update_options_' . $this->id . '_' . $email->id );
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue