v2.0.1
This commit is contained in:
parent
be6f679724
commit
7929462680
4 changed files with 13 additions and 4 deletions
|
|
@ -1,3 +1,7 @@
|
|||
= 2.0.1 =
|
||||
|
||||
* Fixed automatic password clearing when both host and username fields are empty to prevent orphaned credentials.
|
||||
|
||||
= 2.0.0 =
|
||||
|
||||
* Comprehensive security audit and hardening.
|
||||
|
|
|
|||
|
|
@ -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'] ) ) {
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ Contributors: javiercasares
|
|||
Tags: smtp, email, mail
|
||||
Requires at least: 6.5
|
||||
Tested up to: 6.9
|
||||
Stable tag: 2.0.0
|
||||
Stable tag: 2.0.1
|
||||
Requires PHP: 8.2
|
||||
Version: 2.0.0
|
||||
Version: 2.0.1
|
||||
License: GPL-3.0-or-later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
* Plugin Name: SMTP (by ROBOTSTXT)
|
||||
* Plugin URI: https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp
|
||||
* Description: Configure WordPress to send emails through SMTP with detailed controls.
|
||||
* Version: 2.0.0
|
||||
* Version: 2.0.1
|
||||
* Requires at least: 6.5
|
||||
* Requires PHP: 8.2
|
||||
* Network: true
|
||||
|
|
@ -25,7 +25,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
}
|
||||
|
||||
if ( ! defined( 'ROBOTSTXT_SMTP_VERSION' ) ) {
|
||||
define( 'ROBOTSTXT_SMTP_VERSION', '2.0.0' );
|
||||
define( 'ROBOTSTXT_SMTP_VERSION', '2.0.1' );
|
||||
}
|
||||
|
||||
if ( ! defined( 'ROBOTSTXT_SMTP_FILE' ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue