v2.0.1
This commit is contained in:
parent
be6f679724
commit
7929462680
1 changed files with 13 additions and 4 deletions
|
|
@ -3871,6 +3871,11 @@ class Settings_Page {
|
|||
$clean['reply_to_name'] = sanitize_text_field( $options['reply_to_name'] );
|
||||
}
|
||||
|
||||
|
||||
// Clear password if both host and username are empty.
|
||||
if ( empty( $clean['host'] ) && empty( $clean['username'] ) ) {
|
||||
$clean['password'] = '';
|
||||
}
|
||||
// Only process Amazon SES fields if Amazon SES integration is NOT active (the add-on will handle it).
|
||||
if ( ! Plugin::is_amazon_ses_integration_active() ) {
|
||||
if ( isset( $options['amazon_ses_access_key'] ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue