diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 867ce1f..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/vendor/ -/composer.lock -/.codegraph/ -/.claude/ -*.zip diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 0162767..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,144 +0,0 @@ -# Changelog - -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 - -* **From Email / Reply-To Email not clearing.** `sanitize_options()` treated an empty submitted value as "keep the current value". Added explicit `$clean['from_email'] = ''` / `$clean['reply_to_email'] = ''` in the `else` branch so blanking the field is persisted. -* **"Clear password" had no effect.** `update_option()` always runs the registered `sanitize_option_{name}` callback, which re-applies the old password when the submitted value is empty. Fixed by temporarily removing the filter before `update_option()` and re-adding it after. -* **"Clear password" submitted to `options.php`.** The button was rendered inside a `
` nested inside the settings form. Nested forms are invalid HTML; the browser submits the outer form instead. Replaced with a `wp_nonce_url()` GET link that submits independently. -* **DKIM "Try selector" button did nothing.** The `` was inside the cached tool HTML rendered via `wp_kses_post()`, which strips ``, ``, and `