This commit is contained in:
Javier Casares 2026-11-03 17:39:56 +00:00
commit 7cfb57a530

View file

@ -3,9 +3,9 @@ Contributors: robotstxt, javiercasares
Tags: email, reply-to, mail, smtp
Requires at least: 4.7
Tested up to: 7.1
Stable tag: 2.0.3
Stable tag: 2.1.0
Requires PHP: 5.6
Version: 2.0.3
Version: 2.1.0
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.txt
@ -46,9 +46,13 @@ Disabled contexts fall back to the Default Reply-To. If no Default is configured
Yes. When WooCommerce is active, a dedicated WooCommerce tab appears so you can route order emails to a separate reply address.
= Will my settings be deleted when I uninstall the plugin? =
No. By default all plugin data is preserved on uninstall. If you want everything removed, check "Delete plugin data on uninstall" on the Default tab before uninstalling. On Multisite, each site's own setting decides for that site's data.
= Does this plugin work on WordPress Multisite? =
Yes. Each site in a Multisite network maintains its own configuration. On uninstall, data is removed from all sites.
Yes. Each site in a Multisite network maintains its own configuration. On uninstall, each site's data is removed only if that site opted in to data deletion; by default all data is preserved.
== Compatibility ==
@ -57,6 +61,42 @@ Yes. Each site in a Multisite network maintains its own configuration. On uninst
== Changelog ==
= 2.1.0 =
_Release date: 2026-09-18_
**Highlights**
* Known issues resolved: WooCommerce context values are no longer lost, and plugin data is now preserved on uninstall unless you opt in to removal.
**Added**
* "Delete plugin data on uninstall" opt-in setting (Default tab). Your Reply-To settings are preserved by default and only removed when you explicitly check this box.
* WP_MAIL_REPLYTO_VERSION constant for cache-busting and version checks.
**Changed**
* WooCommerce context values now survive settings saves made while WooCommerce is deactivated (previously they were silently dropped; the tab reappears with its values when WooCommerce is reactivated).
* Settings page now terminates with wp_die() instead of a silent blank page when accessed without manage_options.
* "Save Settings" button no longer double-escaped.
* Active tab query parameter ($_GET['tab']) now unslashed before sanitization (Plugin Check hardening).
* Development tooling updated via composer update (PHPStan 2.2.8 → 2.2.14, wp-compat 1.5.0 → 2.0.1, wordpress-stubs 6.9.4 → 7.1.0, phpstan-wordpress 2.0.3 → 2.0.4, php-parser 5.8.0 → 5.9.0, wp-hooks/wordpress-core 1.12.0 → 1.13.0).
* Documented wp-compat 2.x false positive for apply_filters() extra args (formalized in the 6.0 signature, functional since WP 0.71) with a targeted phpstan.neon ignore.
* bin/preflight.sh runs PHPStan with --memory-limit=1G (updated dev deps exceed the default 512M worker limit).
**Compatibility**
* WordPress: 4.7 - 7.1 (7.2 not yet released — expected December 2026 — so Tested up to stays at 7.1)
* PHP: 5.6 - 8.5
**Tests**
* PHP Coding Standards: 3.13.6
* WordPress Coding Standards: 3.4.1
* PHPStan: 2.2.14 (level 9)
* PHPUnit: 9.6.36
* Plugin Check (PCP): 0 errors on the release package.
= 2.0.3 =
_Release date: 2026-08-18_
@ -121,57 +161,21 @@ _Release date: 2026-06-05_
* PHPStan: 2.2.2 (level 9)
* PHPUnit: 9.6.34
= 2.0.1 =
_Release date: 2026-06-05_
**Highlights**
* Major bugfix release addressing three critical issues found during pre-deploy audit.
**Fixed**
* Context cache not resetting between emails in the same PHP process.
* Duplicate Reply-To header injected when an existing Reply-To was present.
* Migration hook only running on admin_init — missed WP-CLI activations.
* RFC 5322 display name quoting now applied only when the name contains special characters.
**Added**
* Developer filters: wp_mail_replyto_context and wp_mail_replyto_header.
* load_plugin_textdomain() for translation support on WordPress < 4.6.
**Security**
* sanitize_callback added to legacy option registrations.
**Compatibility**
* WordPress: 4.1 - 6.9
* PHP: 5.6 - 8.5
**Tests**
* PHP Coding Standards: 3.13.5
* WordPress Coding Standards: 3.3.0
* PHPStan: 2.2.2 (level 9)
* PHPUnit: 9.6.34
= Previous versions =
If you want to see the full changelog, visit the [changelog](https://www.robotstxt.software/plugins/replyto/changelog/) page.
== Upgrade Notice ==
= 2.1.0 =
WooCommerce context values are preserved and plugin data is kept on uninstall unless you opt in. Recommended for all users.
= 2.0.3 =
Housekeeping release: branding URLs moved to robotstxt.software. Minimum WordPress version is now 4.7.
= 2.0.2 =
Translations added for Spanish (Spain) and Catalan. WordPress minimum corrected to 3.6. Upgrade recommended.
= 2.0.1 =
Bugfix release. Fixes context isolation between emails, duplicate Reply-To headers, and migration on WP-CLI. Upgrade recommended.
== Compliance ==
This plugin adheres to the following security measures and review protocols for each version: