diff --git a/CHANGELOG.md b/CHANGELOG.md index aaf6b43..0162767 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/changelog.txt b/changelog.txt index 517fb4e..a76a18c 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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_ diff --git a/includes/class-settings-page.php b/includes/class-settings-page.php index 1179a74..d2b39b7 100644 --- a/includes/class-settings-page.php +++ b/includes/class-settings-page.php @@ -1485,7 +1485,7 @@ class Settings_Page { $dkim_form_url = $this->get_admin_url_for_scope( $scope, 'admin.php' ); ?>
- + diff --git a/readme.txt b/readme.txt index d6ef86e..fa7c967 100644 --- a/readme.txt +++ b/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_ diff --git a/robotstxt-smtp.php b/robotstxt-smtp.php index a2490ae..5001109 100644 --- a/robotstxt-smtp.php +++ b/robotstxt-smtp.php @@ -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' ) ) { diff --git a/update.json b/update.json index 8c586be..e678e6f 100644 --- a/update.json +++ b/update.json @@ -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": "

2.2.2 - 2026-06-09

2.2.1 - 2026-06-09

2.2.0 - 2026-06-09

2.1.0 - 2026-02-09

", + "changelog": "

2.2.3 - 2026-06-09

2.2.2 - 2026-06-09

2.2.1 - 2026-06-09

2.2.0 - 2026-06-09

2.1.0 - 2026-02-09

", "sections": { "description": "Configure WordPress to send emails through SMTP with detailed controls. Supports multiple SMTP providers, logging, diagnostics, and network/site-level configuration.", - "changelog": "

2.2.2 - 2026-06-09

2.2.1 - 2026-06-09

2.2.0 - 2026-06-09

2.1.0 - 2026-02-09

" + "changelog": "

2.2.3 - 2026-06-09

2.2.2 - 2026-06-09

2.2.1 - 2026-06-09

2.2.0 - 2026-06-09

2.1.0 - 2026-02-09

" }, "banners": { "low": "",