v2.2.3
This commit is contained in:
parent
48cef88d49
commit
d1dade498c
6 changed files with 51 additions and 9 deletions
|
|
@ -3,6 +3,14 @@
|
|||
All notable changes to SMTP (by ROBOTSTXT) are documented in this file.
|
||||
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## [2.2.3] - 2026-06-09
|
||||
|
||||
### Fixed
|
||||
|
||||
* **DKIM "Try selector" form broken in Network Admin.** The hidden `page` input was constructed as `self::NETWORK_MENU_SLUG . '-tools'` (`robotstxt-smtp-network-tools`), which does not exist. Both the site and the network menus register the Tools page under the same `self::TOOLS_PAGE_SLUG` constant (`robotstxt-smtp-tools`). Fixed to always use `self::TOOLS_PAGE_SLUG`.
|
||||
|
||||
---
|
||||
|
||||
## [2.2.2] - 2026-06-09
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
|
|
@ -1,5 +1,26 @@
|
|||
== Changelog ==
|
||||
|
||||
= 2.2.3 =
|
||||
|
||||
_Release date: 2026-06-09_
|
||||
|
||||
**Fixed**
|
||||
|
||||
* Fixed the DKIM "Try selector" form not working in Network Admin. The hidden `page` input was set to `robotstxt-smtp-network-tools` (non-existent) instead of the correct `robotstxt-smtp-tools`, which is the same slug used in both site and network contexts.
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 5.9 - 7.1
|
||||
* PHP: 8.0 - 8.5
|
||||
|
||||
**Tests**
|
||||
|
||||
* PHP Coding Standards: squizlabs/php_codesniffer 3.x, wp-coding-standards/wpcs 3.x
|
||||
* WordPress Coding Standards: WordPress-Core, WordPress-Docs, WordPress-Extra
|
||||
* PHPStan: level 9, szepeviktor/phpstan-wordpress 2.x
|
||||
* PHPCompatibility: phpcompatibility/php-compatibility 10.x (PHP 8.0-8.5)
|
||||
* WP Compatibility: johnbillion/wp-compat (WP 5.9+)
|
||||
|
||||
= 2.2.2 =
|
||||
|
||||
_Release date: 2026-06-09_
|
||||
|
|
|
|||
|
|
@ -1485,7 +1485,7 @@ class Settings_Page {
|
|||
$dkim_form_url = $this->get_admin_url_for_scope( $scope, 'admin.php' );
|
||||
?>
|
||||
<form method="get" action="<?php echo esc_url( $dkim_form_url ); ?>" style="margin-top: 12px; padding-top: 12px; border-top: 1px solid #dcdcde;">
|
||||
<input type="hidden" name="page" value="<?php echo esc_attr( self::SCOPE_NETWORK === $scope ? self::NETWORK_MENU_SLUG . '-tools' : self::TOOLS_PAGE_SLUG ); ?>" />
|
||||
<input type="hidden" name="page" value="<?php echo esc_attr( self::TOOLS_PAGE_SLUG ); ?>" />
|
||||
<input type="hidden" name="robotstxt_smtp_tool" value="authentication" />
|
||||
<input type="hidden" name="robotstxt_smtp_refresh" value="1" />
|
||||
<input type="hidden" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( 'robotstxt_smtp_refresh_tool_authentication' ) ); ?>" />
|
||||
|
|
|
|||
17
readme.txt
17
readme.txt
|
|
@ -3,9 +3,9 @@ Contributors: javiercasares
|
|||
Tags: smtp, email, mail
|
||||
Requires at least: 5.9
|
||||
Tested up to: 7.1
|
||||
Stable tag: 2.2.2
|
||||
Stable tag: 2.2.3
|
||||
Requires PHP: 8.0
|
||||
Version: 2.2.2
|
||||
Version: 2.2.3
|
||||
License: GPL-3.0-or-later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
|
||||
|
|
@ -70,6 +70,19 @@ Yes. From the network dashboard you can decide whether the configuration is glob
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 2.2.3 =
|
||||
|
||||
_Release date: 2026-06-09_
|
||||
|
||||
**Fixed**
|
||||
|
||||
* Fixed the DKIM "Try selector" form submitting to a non-existent page in Network Admin. The form was building the page slug as `robotstxt-smtp-network-tools` instead of the correct `robotstxt-smtp-tools` (which is shared between site and network contexts).
|
||||
|
||||
**Compatibility**
|
||||
|
||||
* WordPress: 5.9 - 7.1
|
||||
* PHP: 8.0 - 8.5
|
||||
|
||||
= 2.2.2 =
|
||||
|
||||
_Release date: 2026-06-09_
|
||||
|
|
|
|||
|
|
@ -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.2.2
|
||||
* Version: 2.2.3
|
||||
* Requires at least: 5.9
|
||||
* Requires PHP: 8.0
|
||||
* Network: true
|
||||
|
|
@ -25,7 +25,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
}
|
||||
|
||||
if ( ! defined( 'ROBOTSTXT_SMTP_VERSION' ) ) {
|
||||
define( 'ROBOTSTXT_SMTP_VERSION', '2.2.2' );
|
||||
define( 'ROBOTSTXT_SMTP_VERSION', '2.2.3' );
|
||||
}
|
||||
|
||||
if ( ! defined( 'ROBOTSTXT_SMTP_FILE' ) ) {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "SMTP (by ROBOTSTXT)",
|
||||
"slug": "robotstxt-smtp",
|
||||
"version": "2.2.2",
|
||||
"download_url": "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp/releases/download/2.2.2/robotstxt-smtp-2.2.2.zip",
|
||||
"version": "2.2.3",
|
||||
"download_url": "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp/releases/download/2.2.3/robotstxt-smtp-2.2.3.zip",
|
||||
"requires": "5.9",
|
||||
"requires_php": "8.0",
|
||||
"tested": "7.1",
|
||||
|
|
@ -11,10 +11,10 @@
|
|||
"author_profile": "https://www.robotstxt.es/",
|
||||
"homepage": "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp",
|
||||
"description": "Configure WordPress to send emails through SMTP with detailed controls. Supports multiple SMTP providers, logging, diagnostics, and network/site-level configuration.",
|
||||
"changelog": "<h3>2.2.2 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> From Email and Reply-To Email not clearing when submitted empty</li><li><strong>Fixed:</strong> Clear password button had no effect (sanitize_option callback re-applied old password)</li><li><strong>Fixed:</strong> Clear password link submitted to options.php (nested form issue)</li><li><strong>Fixed:</strong> DKIM Try Selector button did nothing (wp_kses_post stripped form elements)</li><li><strong>Fixed:</strong> Spamhaus ZEN false "Listed" result for 127.255.255.254 (open-resolver error code)</li><li><strong>Added:</strong> DKIM selector auto-detection from MX records (Google Workspace, Microsoft 365, Zoho, ProtonMail, iCloud, Aruba, Mailchimp)</li><li><strong>Added:</strong> "Try a specific selector" input in Tools — Authentication</li><li><strong>Added:</strong> Password field placeholder is now context-aware</li></ul><h3>2.2.1 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> Statistics chart not rendering due to script load-order issue</li><li><strong>Fixed:</strong> Chart.js now bundled locally — no external CDN requests</li></ul><h3>2.2.0 - 2026-06-09</h3><ul><li><strong>Security:</strong> Fixed passwords with special characters being silently corrupted on save</li><li><strong>Security:</strong> Fixed credentials no longer stored in transients after test email</li><li><strong>Security:</strong> Fixed credential mask bug in test email panel</li><li><strong>Fixed:</strong> DMARC tool now implements RFC 7489 §6.6.3 organizational domain fallback</li><li><strong>Fixed:</strong> Rate-limit enforcement now short-circuits wp_mail() immediately</li><li><strong>Fixed:</strong> DKIM and DMARC DNS lookups use timeout-protected wrapper</li><li><strong>Fixed:</strong> Rate-limit transients removed on uninstall</li><li><strong>Compatibility:</strong> WordPress minimum lowered to 5.9</li><li><strong>Compatibility:</strong> PHP minimum lowered to 8.0</li></ul><h3>2.1.0 - 2026-02-09</h3><ul><li><strong>Added:</strong> Data management option to control whether plugin data is deleted on uninstall (disabled by default for data preservation)</li><li><strong>Added:</strong> Reset plugin data functionality with site-level and network-level support</li><li><strong>Added:</strong> Unified uninstall cleanup system that handles all add-on data (Amazon SES, Newsletter)</li><li><strong>Added:</strong> Automatic password clearing when both host and username fields are empty to prevent orphaned credentials</li><li><strong>Changed:</strong> Uninstall behavior now respects user preference: data is preserved by default unless explicitly enabled</li><li><strong>Changed:</strong> Add-on plugins (Amazon SES, Newsletter) no longer perform cleanup on uninstall - all cleanup is centralized in the core plugin</li></ul>",
|
||||
"changelog": "<h3>2.2.3 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> DKIM selector form submitted to a non-existent page slug in Network Admin (robotstxt-smtp-network-tools instead of robotstxt-smtp-tools)</li></ul><h3>2.2.2 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> From Email and Reply-To Email not clearing when submitted empty</li><li><strong>Fixed:</strong> Clear password button had no effect (sanitize_option callback re-applied old password)</li><li><strong>Fixed:</strong> Clear password link submitted to options.php (nested form issue)</li><li><strong>Fixed:</strong> DKIM Try Selector button did nothing (wp_kses_post stripped form elements)</li><li><strong>Fixed:</strong> Spamhaus ZEN false "Listed" result for 127.255.255.254 (open-resolver error code)</li><li><strong>Added:</strong> DKIM selector auto-detection from MX records (Google Workspace, Microsoft 365, Zoho, ProtonMail, iCloud, Aruba, Mailchimp)</li><li><strong>Added:</strong> "Try a specific selector" input in Tools — Authentication</li><li><strong>Added:</strong> Password field placeholder is now context-aware</li></ul><h3>2.2.1 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> Statistics chart not rendering due to script load-order issue</li><li><strong>Fixed:</strong> Chart.js now bundled locally — no external CDN requests</li></ul><h3>2.2.0 - 2026-06-09</h3><ul><li><strong>Security:</strong> Fixed passwords with special characters being silently corrupted on save</li><li><strong>Security:</strong> Fixed credentials no longer stored in transients after test email</li><li><strong>Security:</strong> Fixed credential mask bug in test email panel</li><li><strong>Fixed:</strong> DMARC tool now implements RFC 7489 §6.6.3 organizational domain fallback</li><li><strong>Fixed:</strong> Rate-limit enforcement now short-circuits wp_mail() immediately</li><li><strong>Fixed:</strong> DKIM and DMARC DNS lookups use timeout-protected wrapper</li><li><strong>Fixed:</strong> Rate-limit transients removed on uninstall</li><li><strong>Compatibility:</strong> WordPress minimum lowered to 5.9</li><li><strong>Compatibility:</strong> PHP minimum lowered to 8.0</li></ul><h3>2.1.0 - 2026-02-09</h3><ul><li><strong>Added:</strong> Data management option to control whether plugin data is deleted on uninstall (disabled by default for data preservation)</li><li><strong>Added:</strong> Reset plugin data functionality with site-level and network-level support</li><li><strong>Added:</strong> Unified uninstall cleanup system that handles all add-on data (Amazon SES, Newsletter)</li><li><strong>Added:</strong> Automatic password clearing when both host and username fields are empty to prevent orphaned credentials</li><li><strong>Changed:</strong> Uninstall behavior now respects user preference: data is preserved by default unless explicitly enabled</li><li><strong>Changed:</strong> Add-on plugins (Amazon SES, Newsletter) no longer perform cleanup on uninstall - all cleanup is centralized in the core plugin</li></ul>",
|
||||
"sections": {
|
||||
"description": "Configure WordPress to send emails through SMTP with detailed controls. Supports multiple SMTP providers, logging, diagnostics, and network/site-level configuration.",
|
||||
"changelog": "<h3>2.2.2 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> From Email and Reply-To Email not clearing when submitted empty</li><li><strong>Fixed:</strong> Clear password button had no effect (sanitize_option callback re-applied old password)</li><li><strong>Fixed:</strong> Clear password link submitted to options.php (nested form issue)</li><li><strong>Fixed:</strong> DKIM Try Selector button did nothing (wp_kses_post stripped form elements)</li><li><strong>Fixed:</strong> Spamhaus ZEN false "Listed" result for 127.255.255.254 (open-resolver error code)</li><li><strong>Added:</strong> DKIM selector auto-detection from MX records (Google Workspace, Microsoft 365, Zoho, ProtonMail, iCloud, Aruba, Mailchimp)</li><li><strong>Added:</strong> "Try a specific selector" input in Tools — Authentication</li><li><strong>Added:</strong> Password field placeholder is now context-aware</li></ul><h3>2.2.1 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> Statistics chart not rendering due to script load-order issue</li><li><strong>Fixed:</strong> Chart.js now bundled locally — no external CDN requests</li></ul><h3>2.2.0 - 2026-06-09</h3><ul><li><strong>Security:</strong> Fixed passwords with special characters being silently corrupted on save</li><li><strong>Security:</strong> Fixed credentials no longer stored in transients after test email</li><li><strong>Security:</strong> Fixed credential mask bug in test email panel</li><li><strong>Fixed:</strong> DMARC tool now implements RFC 7489 §6.6.3 organizational domain fallback</li><li><strong>Fixed:</strong> Rate-limit enforcement now short-circuits wp_mail() immediately</li><li><strong>Fixed:</strong> DKIM and DMARC DNS lookups use timeout-protected wrapper</li><li><strong>Fixed:</strong> Rate-limit transients removed on uninstall</li><li><strong>Compatibility:</strong> WordPress minimum lowered to 5.9</li><li><strong>Compatibility:</strong> PHP minimum lowered to 8.0</li></ul><h3>2.1.0 - 2026-02-09</h3><ul><li><strong>Added:</strong> Data management option to control whether plugin data is deleted on uninstall (disabled by default for data preservation)</li><li><strong>Added:</strong> Reset plugin data functionality with site-level and network-level support</li><li><strong>Added:</strong> Unified uninstall cleanup system that handles all add-on data (Amazon SES, Newsletter)</li><li><strong>Added:</strong> Automatic password clearing when both host and username fields are empty to prevent orphaned credentials</li><li><strong>Changed:</strong> Uninstall behavior now respects user preference: data is preserved by default unless explicitly enabled</li><li><strong>Changed:</strong> Add-on plugins (Amazon SES, Newsletter) no longer perform cleanup on uninstall - all cleanup is centralized in the core plugin</li></ul>"
|
||||
"changelog": "<h3>2.2.3 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> DKIM selector form submitted to a non-existent page slug in Network Admin (robotstxt-smtp-network-tools instead of robotstxt-smtp-tools)</li></ul><h3>2.2.2 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> From Email and Reply-To Email not clearing when submitted empty</li><li><strong>Fixed:</strong> Clear password button had no effect (sanitize_option callback re-applied old password)</li><li><strong>Fixed:</strong> Clear password link submitted to options.php (nested form issue)</li><li><strong>Fixed:</strong> DKIM Try Selector button did nothing (wp_kses_post stripped form elements)</li><li><strong>Fixed:</strong> Spamhaus ZEN false "Listed" result for 127.255.255.254 (open-resolver error code)</li><li><strong>Added:</strong> DKIM selector auto-detection from MX records (Google Workspace, Microsoft 365, Zoho, ProtonMail, iCloud, Aruba, Mailchimp)</li><li><strong>Added:</strong> "Try a specific selector" input in Tools — Authentication</li><li><strong>Added:</strong> Password field placeholder is now context-aware</li></ul><h3>2.2.1 - 2026-06-09</h3><ul><li><strong>Fixed:</strong> Statistics chart not rendering due to script load-order issue</li><li><strong>Fixed:</strong> Chart.js now bundled locally — no external CDN requests</li></ul><h3>2.2.0 - 2026-06-09</h3><ul><li><strong>Security:</strong> Fixed passwords with special characters being silently corrupted on save</li><li><strong>Security:</strong> Fixed credentials no longer stored in transients after test email</li><li><strong>Security:</strong> Fixed credential mask bug in test email panel</li><li><strong>Fixed:</strong> DMARC tool now implements RFC 7489 §6.6.3 organizational domain fallback</li><li><strong>Fixed:</strong> Rate-limit enforcement now short-circuits wp_mail() immediately</li><li><strong>Fixed:</strong> DKIM and DMARC DNS lookups use timeout-protected wrapper</li><li><strong>Fixed:</strong> Rate-limit transients removed on uninstall</li><li><strong>Compatibility:</strong> WordPress minimum lowered to 5.9</li><li><strong>Compatibility:</strong> PHP minimum lowered to 8.0</li></ul><h3>2.1.0 - 2026-02-09</h3><ul><li><strong>Added:</strong> Data management option to control whether plugin data is deleted on uninstall (disabled by default for data preservation)</li><li><strong>Added:</strong> Reset plugin data functionality with site-level and network-level support</li><li><strong>Added:</strong> Unified uninstall cleanup system that handles all add-on data (Amazon SES, Newsletter)</li><li><strong>Added:</strong> Automatic password clearing when both host and username fields are empty to prevent orphaned credentials</li><li><strong>Changed:</strong> Uninstall behavior now respects user preference: data is preserved by default unless explicitly enabled</li><li><strong>Changed:</strong> Add-on plugins (Amazon SES, Newsletter) no longer perform cleanup on uninstall - all cleanup is centralized in the core plugin</li></ul>"
|
||||
},
|
||||
"banners": {
|
||||
"low": "",
|
||||
|
|
|
|||
Loading…
Reference in a new issue