This commit is contained in:
Javier Casares 2026-06-05 11:02:43 +00:00
commit bc743ba736
7 changed files with 2050 additions and 694 deletions

1013
LICENSE

File diff suppressed because it is too large Load diff

View file

@ -1,24 +1,24 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 512 512" xml:space="preserve">
<g>
<polygon style="fill:#CEE8FA;" points="348.632,315.499 310.369,347.136 272.106,315.499 268.721,315.499 123.386,435.666
123.386,439.058 497.352,439.058 497.352,435.666 352.017,315.499 "/>
<polygon style="fill:#CEE8FA;" points="219.929,151.439 219.929,187.235 123.386,187.235 123.386,192.532 310.369,347.136
497.353,192.532 497.353,151.439 "/>
</g>
<path style="fill:#2D527C;" d="M506.686,203.819c3.366-2.783,5.314-6.922,5.314-11.288v-41.093c0-8.088-6.559-14.647-14.647-14.647
H234.575v-21.15c0-8.088-6.557-14.647-14.647-14.647h-82.274V72.939c0-5.504-3.086-10.543-7.988-13.046
c-4.902-2.499-10.793-2.045-15.252,1.185L6.054,139.576C2.251,142.331,0,146.743,0,151.439c0,4.696,2.251,9.107,6.054,11.862
l102.684,74.388v112.376c0,8.088,6.557,14.647,14.647,14.647s14.647-6.559,14.647-14.647V223.647L247.427,314.1L114.052,424.379
c-3.366,2.783-5.314,6.922-5.314,11.288v3.392c0,8.088,6.557,14.647,14.647,14.647H497.35l0,0l0,0
c8.088,0,14.647-6.559,14.647-14.647V281.063c0-8.088-6.559-14.647-14.647-14.647s-14.647,6.559-14.647,14.647v123.49L373.308,314.1
L506.686,203.819z M234.576,166.085h248.13v19.552L339.308,304.203c-0.003,0.003-0.006,0.004-0.009,0.007l-28.93,23.921
l-28.93-23.921c-0.001-0.001-0.003-0.003-0.004-0.004L157.683,201.885h62.245c5.561,0,10.399-3.101,12.879-7.666
c1.128-2.075,1.768-4.454,1.768-6.982v-21.151H234.576z M108.36,201.241l-68.748-49.802l68.748-49.802v14.005
c0,8.088,6.557,14.647,14.647,14.647h82.274v42.301h-81.895c-0.01,0-0.019,0.001-0.028,0.001h-0.35
c-8.089,0-14.647,6.559-14.647,14.647v14.002H108.36z M460.757,424.413H159.983l110.431-91.308l30.622,25.32
c0.338,0.28,0.687,0.542,1.043,0.787c2.493,1.714,5.392,2.572,8.29,2.572c2.899,0,5.797-0.858,8.29-2.572
c0.356-0.245,0.704-0.507,1.043-0.787l30.624-25.321L460.757,424.413z"/>
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 512 512" xml:space="preserve">
<g>
<polygon style="fill:#CEE8FA;" points="348.632,315.499 310.369,347.136 272.106,315.499 268.721,315.499 123.386,435.666
123.386,439.058 497.352,439.058 497.352,435.666 352.017,315.499 "/>
<polygon style="fill:#CEE8FA;" points="219.929,151.439 219.929,187.235 123.386,187.235 123.386,192.532 310.369,347.136
497.353,192.532 497.353,151.439 "/>
</g>
<path style="fill:#2D527C;" d="M506.686,203.819c3.366-2.783,5.314-6.922,5.314-11.288v-41.093c0-8.088-6.559-14.647-14.647-14.647
H234.575v-21.15c0-8.088-6.557-14.647-14.647-14.647h-82.274V72.939c0-5.504-3.086-10.543-7.988-13.046
c-4.902-2.499-10.793-2.045-15.252,1.185L6.054,139.576C2.251,142.331,0,146.743,0,151.439c0,4.696,2.251,9.107,6.054,11.862
l102.684,74.388v112.376c0,8.088,6.557,14.647,14.647,14.647s14.647-6.559,14.647-14.647V223.647L247.427,314.1L114.052,424.379
c-3.366,2.783-5.314,6.922-5.314,11.288v3.392c0,8.088,6.557,14.647,14.647,14.647H497.35l0,0l0,0
c8.088,0,14.647-6.559,14.647-14.647V281.063c0-8.088-6.559-14.647-14.647-14.647s-14.647,6.559-14.647,14.647v123.49L373.308,314.1
L506.686,203.819z M234.576,166.085h248.13v19.552L339.308,304.203c-0.003,0.003-0.006,0.004-0.009,0.007l-28.93,23.921
l-28.93-23.921c-0.001-0.001-0.003-0.003-0.004-0.004L157.683,201.885h62.245c5.561,0,10.399-3.101,12.879-7.666
c1.128-2.075,1.768-4.454,1.768-6.982v-21.151H234.576z M108.36,201.241l-68.748-49.802l68.748-49.802v14.005
c0,8.088,6.557,14.647,14.647,14.647h82.274v42.301h-81.895c-0.01,0-0.019,0.001-0.028,0.001h-0.35
c-8.089,0-14.647,6.559-14.647,14.647v14.002H108.36z M460.757,424.413H159.983l110.431-91.308l30.622,25.32
c0.338,0.28,0.687,0.542,1.043,0.787c2.493,1.714,5.392,2.572,8.29,2.572c2.899,0,5.797-0.858,8.29-2.572
c0.356-0.245,0.704-0.507,1.043-0.787l30.624-25.321L460.757,424.413z"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After

242
languages/replyto.pot Normal file
View file

@ -0,0 +1,242 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Reply-To for WP_Mail\n"
"POT-Creation-Date: 2026-01-20 18:14+0100\n"
"PO-Revision-Date: 2026-01-20 18:14+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"X-Generator: Poedit 3.8\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: replyto.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: "
"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
"X-Poedit-SearchPathExcluded-1: vendor\n"
#: replyto.php:326
msgid "WP Mail Reply-To Settings"
msgstr ""
#: replyto.php:327
msgid "Reply-To"
msgstr ""
#: replyto.php:390
msgid "The email address format is not valid. Please check and try again."
msgstr ""
#: replyto.php:405
msgid ""
"Warning: The email domain does not appear to have valid DNS records. The "
"email may not work correctly."
msgstr ""
#: replyto.php:436
msgid "Reply-To email address updated successfully."
msgstr ""
#: replyto.php:502 replyto.php:675
msgid "Default"
msgstr ""
#: replyto.php:503
msgid "Authentication"
msgstr ""
#: replyto.php:504
msgid "Comments"
msgstr ""
#: replyto.php:505
msgid "Users"
msgstr ""
#: replyto.php:506
msgid "System"
msgstr ""
#: replyto.php:511 replyto.php:704
msgid "WooCommerce"
msgstr ""
#. translators: %s: context name
#: replyto.php:534
#, php-format
msgid "Invalid email address for %s context."
msgstr ""
#. translators: %s: context name
#: replyto.php:547
#, php-format
msgid "Name for %s context was truncated to 255 characters."
msgstr ""
#: replyto.php:584
msgid "Reply-To configuration updated successfully."
msgstr ""
#: replyto.php:676
msgid ""
"Default Reply-To used for all emails that do not match a specific context. "
"This is the fallback when other contexts are not configured."
msgstr ""
#: replyto.php:677
msgid ""
"Newsletter confirmations, general notifications, and any emails not covered "
"by other contexts."
msgstr ""
#: replyto.php:680
msgid "Authentication & Security"
msgstr ""
#: replyto.php:681
msgid ""
"Reply-To for password resets, password changes, and email address changes."
msgstr ""
#: replyto.php:682
msgid ""
"Password reset requests, password change confirmations, email address "
"verifications."
msgstr ""
#: replyto.php:685
msgid "Comments & Moderation"
msgstr ""
#: replyto.php:686
msgid "Reply-To for comment notifications and moderation alerts."
msgstr ""
#: replyto.php:687
msgid "New comment notifications, comment moderation alerts, comment replies."
msgstr ""
#: replyto.php:690
msgid "Users & Registration"
msgstr ""
#: replyto.php:691
msgid ""
"Reply-To for new user registrations, role changes, and user management "
"emails."
msgstr ""
#: replyto.php:692
msgid "New user welcome emails, user role changes, account activations."
msgstr ""
#: replyto.php:695
msgid "System & Updates"
msgstr ""
#: replyto.php:696
msgid ""
"Reply-To for automatic updates, system alerts, and critical site health "
"notifications."
msgstr ""
#: replyto.php:697
msgid ""
"WordPress core updates, plugin updates, theme updates, recovery mode, fatal "
"error notifications."
msgstr ""
#: replyto.php:705
msgid ""
"Reply-To for WooCommerce order notifications, invoices, and customer "
"communications."
msgstr ""
#: replyto.php:706
msgid "Order confirmations, shipping notifications, invoices, customer notes."
msgstr ""
#: replyto.php:720
msgid ""
"Configure different Reply-To addresses based on the type of email being "
"sent. Each context can have its own email address and display name."
msgstr ""
#: replyto.php:757
msgid "Active with email configured"
msgstr ""
#: replyto.php:758
msgid "Inactive or no email configured"
msgstr ""
#: replyto.php:773
msgid "What this context covers:"
msgstr ""
#: replyto.php:775
msgid "Examples:"
msgstr ""
#: replyto.php:786
msgid "Enable this context"
msgstr ""
#: replyto.php:789
msgid ""
"When disabled, emails in this context will use the Default Reply-To address."
msgstr ""
#: replyto.php:799
msgid "Reply-To Email Address"
msgstr ""
#: replyto.php:809
msgid "Enter the email address where replies should be sent."
msgstr ""
#: replyto.php:816
msgid "Reply-To Display Name (Optional)"
msgstr ""
#: replyto.php:826
msgid ""
"Optional: Enter a name to display with the email (e.g., \"Support Team\")."
msgstr ""
#: replyto.php:835
msgid "Note:"
msgstr ""
#: replyto.php:836
msgid ""
"The Default context is always active and acts as a fallback for all emails."
msgstr ""
#: replyto.php:861
msgid "Save Settings"
msgstr ""
#. Plugin Name of the plugin/theme
msgid "Reply-To for WP_Mail"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Configure your \"Reply-To:\" for WP_Mail with validation, admin settings, "
"and context-based routing."
msgstr ""
#. Author of the plugin/theme
msgid "ROBOTSTXT"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://www.robotstxt.es/"
msgstr ""

View file

@ -1,68 +1,68 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Reply-To for WP_Mail\n"
"POT-Creation-Date: 2025-04-08 12:13+0200\n"
"PO-Revision-Date: 2024-10-31 08:58+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"X-Generator: Poedit 3.6\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: replyto.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: "
"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
#: replyto.php:97
msgid "WP Mail Reply-To Settings"
msgstr ""
#: replyto.php:98
msgid "Reply-To"
msgstr ""
#: replyto.php:130
msgid "Reply-To Configuration"
msgstr ""
#: replyto.php:138
msgid "Reply-To Email Address"
msgstr ""
#: replyto.php:154
msgid ""
"Set the email address to be used in the \"Reply-To\" header of outgoing "
"emails."
msgstr ""
#: replyto.php:169
msgid "Enter the email address to be used as \"Reply-To\"."
msgstr ""
#: replyto.php:194
msgid "Save Settings"
msgstr ""
#. Plugin Name of the plugin/theme
msgid "Reply-To for WP_Mail"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Configure your \"Reply-To:\" for WP_Mail with validation and admin settings."
msgstr ""
#. Author of the plugin/theme
msgid "Javier Casares"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://www.javiercasares.com/"
msgstr ""
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Reply-To for WP_Mail\n"
"POT-Creation-Date: 2025-04-08 12:13+0200\n"
"PO-Revision-Date: 2024-10-31 08:58+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
"X-Generator: Poedit 3.6\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
"X-Poedit-WPHeader: replyto.php\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: "
"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.min.js\n"
#: replyto.php:97
msgid "WP Mail Reply-To Settings"
msgstr ""
#: replyto.php:98
msgid "Reply-To"
msgstr ""
#: replyto.php:130
msgid "Reply-To Configuration"
msgstr ""
#: replyto.php:138
msgid "Reply-To Email Address"
msgstr ""
#: replyto.php:154
msgid ""
"Set the email address to be used in the \"Reply-To\" header of outgoing "
"emails."
msgstr ""
#: replyto.php:169
msgid "Enter the email address to be used as \"Reply-To\"."
msgstr ""
#: replyto.php:194
msgid "Save Settings"
msgstr ""
#. Plugin Name of the plugin/theme
msgid "Reply-To for WP_Mail"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Configure your \"Reply-To:\" for WP_Mail with validation and admin settings."
msgstr ""
#. Author of the plugin/theme
msgid "Javier Casares"
msgstr ""
#. Author URI of the plugin/theme
msgid "https://www.javiercasares.com/"
msgstr ""

View file

@ -1,65 +1,128 @@
=== Reply-To for WP_Mail ===
Contributors: javiercasares
Tags: email, reply-to
Requires at least: 4.1
Tested up to: 6.8
Stable tag: 1.0.3
Requires PHP: 5.6
Version: 1.0.3
License: GPL-2.0-or-later
License URI: https://spdx.org/licenses/GPL-2.0-or-later.html
Configure the "Reply-To" header for WordPress emails with validation and customizable admin settings.
== Description ==
The Reply-To for WP_Mail plugin allows you to easily manage the "Reply-To" header for all emails sent from your WordPress site. With this plugin, you can specify a custom email address that recipients will use when replying to your site's emails, ensuring that responses go to the correct inbox.
== Installation ==
= Manual download =
Extract the contents of the ZIP and upload the contents to the `/wp-content/plugins/replyto/` directory. Once uploaded, it will appear in your plugin list.
== Compatibility ==
* WordPress: 4.1 - 6.8
* PHP: 5.6 - 8.4
== Changelog ==
= [1.0.3] - 2025-04-08 =
**Changed**
* Compatible with WordPress 6.8.
* Improved functions documentation.
**Compatibility**
* WordPress: 4.1 - 6.8
* PHP: 5.6 - 8.4
**Tests**
* PHP Coding Standards: 3.12.1
* WordPress Coding Standards: 3.1.0
* Plugin Check (PCP): 1.4.0
= [1.0.2] - 2024-11-02 =
**Fixed**
* Preparation for GlotPress.
= [1.0.1] - 2024-10-31 =
**Added**
* Translation ready.
= [1.0.0] - 2024-10-22 =
**Added**
* First version.
=== Reply-To for WP_Mail ===
Contributors: javiercasares
Tags: email, reply-to, mail, smtp
Requires at least: 4.1
Tested up to: 6.9
Stable tag: 2.0.0
Requires PHP: 5.6
Version: 2.0.0
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.txt
Configure different "Reply-To" addresses by email context with validation, modern tabbed UI, and automatic migration.
== Description ==
The Reply-To for WP_Mail plugin allows you to easily manage the "Reply-To" header for all emails sent from your WordPress site. With this plugin, you can specify a custom email address that recipients will use when replying to your site's emails, ensuring that responses go to the correct inbox.
== Installation ==
= Manual download =
Extract the contents of the ZIP and upload the contents to the `/wp-content/plugins/replyto/` directory. Once uploaded, it will appear in your plugin list.
== Compatibility ==
* WordPress: 4.1 - 6.9
* PHP: 5.6 - 8.5
== Changelog ==
= [2.0.0] - 2026-01-20 =
**Major Release - Context-Based Reply-To Routing**
This major release combines multiple enhancements including context-based email routing, security improvements, and Reply-To name support.
**Added**
* Context-based Reply-To routing - Configure different Reply-To addresses for different types of emails.
* Six email contexts: Default, Authentication & Security, Comments & Moderation, Users & Registration, System & Updates, WooCommerce.
* WooCommerce tab only visible when WooCommerce plugin is active.
* Intelligent context detection using backtrace analysis.
* Modern tabbed user interface using WordPress native nav-tab-wrapper.
* Visual status indicators on each tab (green = active with email, red = inactive or no email).
* Legend explaining status indicators for easy understanding.
* Enable/disable toggle for each context (except Default which is always active).
* Fallback chain: Specific context → Default context → Legacy settings.
* Detailed descriptions and examples for each context in the admin UI.
* Reply-To Name field - Now you can specify a name to display with the Reply-To email address (e.g., "Support Team <support@example.com>").
* Name sanitization with header injection prevention.
* Length validation for name field (255 characters maximum).
* Created uninstall.php for proper cleanup of plugin data on uninstallation.
* Implemented logging of configuration changes for security auditing (requires WP_DEBUG_LOG).
* Added DNS validation for email domains with user-friendly warnings.
* Enhanced email validation with additional security checks.
* Added success/error messages for better user feedback.
**Changed**
* Complete rewrite of settings page with modern tab-based interface.
* Email detection now uses backtrace analysis for accurate context identification.
* Settings structure changed from individual options to array-based configuration (wp_mail_replyto_contexts).
* Improved sanitization and validation for multiple contexts.
* Enhanced logging with context information in debug mode.
* Email header construction now supports both name and email format.
* Updated sanitize callback to use custom function with enhanced validation.
* Improved security documentation and code comments.
**Security Enhancements**
* Added explicit header injection prevention with defense-in-depth validation.
* Implemented strict RFC 5322 email format validation.
* Enhanced input sanitization with multiple validation layers.
**Technical**
* New database structure: Single serialized array instead of multiple options (more efficient).
* Backward compatible: Legacy options (v1.0.x) still work during migration period.
* Context detection covers: Password resets, comments, user registration, system updates, WooCommerce emails.
* Clean uninstallation: Removes all options including migration flags.
* Automatic migration from v1.0.x - Your existing settings are preserved in the Default context.
**Compatibility**
* WordPress: 4.1 - 6.9
* PHP: 5.6 - 8.5
**Tests**
* PHP Coding Standards: 3.13.4
* WordPress Coding Standards: 3.3.0
* Plugin Check (PCP): 1.4.0
= [1.0.3] - 2025-04-08 =
**Changed**
* Compatible with WordPress 6.8.
* Improved functions documentation.
**Compatibility**
* WordPress: 4.1 - 6.9
* PHP: 5.6 - 8.5
**Tests**
* PHP Coding Standards: 3.12.1
* WordPress Coding Standards: 3.1.0
* Plugin Check (PCP): 1.4.0
= [1.0.2] - 2024-11-02 =
**Fixed**
* Preparation for GlotPress.
= [1.0.1] - 2024-10-31 =
**Added**
* Translation ready.
= [1.0.0] - 2024-10-22 =
**Added**
* First version.

File diff suppressed because it is too large Load diff

50
uninstall.php Normal file
View file

@ -0,0 +1,50 @@
<?php
/**
* Uninstall script for Reply-To for WP_Mail
*
* This file is executed when the plugin is uninstalled via the WordPress admin.
* It removes all plugin data from the database to ensure clean uninstallation.
*
* @package replyto
* @since 1.1.0
* @version 2.0.0 - Added cleanup for contexts configuration.
*/
// If uninstall not called from WordPress, exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
/**
* Delete plugin options from single site or main site.
*/
// Legacy options (v1.0.0 - v1.0.3).
delete_option( 'wp_mail_replyto_email' );
delete_option( 'wp_mail_replyto_name' );
// Context-based configuration (v2.0.0+).
delete_option( 'wp_mail_replyto_contexts' );
delete_option( 'wp_mail_replyto_migration_v200' );
/**
* For multisite installations, delete the options from all sites.
*/
if ( is_multisite() ) {
global $wpdb;
// Get all blog IDs.
// phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- $blog_ids is a temporary local variable used only within this uninstall script, not a global variable that persists across the plugin. It's scoped to this file and iteration loop only.
$blog_ids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
// phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
foreach ( $blog_ids as $blog_id ) {
switch_to_blog( $blog_id );
// Legacy options.
delete_option( 'wp_mail_replyto_email' );
delete_option( 'wp_mail_replyto_name' );
// v2.0.0+ options.
delete_option( 'wp_mail_replyto_contexts' );
delete_option( 'wp_mail_replyto_migration_v200' );
restore_current_blog();
}
}