From 5b0409b6a3e34f25c5ac11f85399817d2bd626aa Mon Sep 17 00:00:00 2001 From: Oleksandr Mykhailenko Date: Thu, 6 Mar 2025 14:55:55 +0200 Subject: [PATCH 1/2] Fix bug with sending test email. JS error --- includes/admin.php | 10 ++-------- readme.md | 5 ++++- readme.txt | 5 ++++- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/includes/admin.php b/includes/admin.php index 8bb1f1b..8e4c047 100755 --- a/includes/admin.php +++ b/includes/admin.php @@ -171,14 +171,8 @@ public function admin_footer_js(): void { jQuery('#mailgun-test').click(function (e) { e.preventDefault() if (formModified) { - var doTest = confirm(' - - ') + var doTest = confirm('') if (!doTest) { return false } diff --git a/readme.md b/readme.md index 2447ea3..1010a24 100755 --- a/readme.md +++ b/readme.md @@ -4,7 +4,7 @@ Mailgun for WordPress Contributors: mailgun, sivel, lookahead.io, m35dev, alanfuller Tags: mailgun, smtp, http, api, mail, email Tested up to: 6.7.2 -Stable tag: 2.1.4 +Stable tag: 2.1.5 Requires PHP: 7.4 License: GPLv2 or later @@ -133,6 +133,9 @@ MAILGUN_REPLY_TO_ADDRESS Type: string == Changelog == += 2.1.5 (2025-03-06): = +- Fixed bug with sending test emails (JS error) + = 2.1.4 (2025-02-23): = - Implemented coding standard into plugin - Fixed a few potential warning related to the plugin diff --git a/readme.txt b/readme.txt index f749935..6dbe138 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Mailgun for WordPress Contributors: mailgun, sivel, lookahead.io, m35dev, alanfuller Tags: mailgun, smtp, http, api, mail, email Tested up to: 6.7.2 -Stable tag: 2.1.4 +Stable tag: 2.1.5 Requires PHP: 7.4 License: GPLv2 or later @@ -129,6 +129,9 @@ MAILGUN_TRACK_OPENS Type: string Choices: 'yes' or 'no' == Changelog == += 2.1.5 (2025-03-06): = +- Fixed bug with sending test emails (JS error) + = 2.1.4 (2025-02-23): = - Implemented coding standard into plugin - Fixed a few potential warning related to the plugin From 3ab77439c53c8657a436db7925e4bf02c8cda1f3 Mon Sep 17 00:00:00 2001 From: Oleksandr Mykhailenko Date: Thu, 6 Mar 2025 15:00:11 +0200 Subject: [PATCH 2/2] Fix bug with sending test email. JS error --- mailgun.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailgun.php b/mailgun.php index 20f6332..1a009e7 100755 --- a/mailgun.php +++ b/mailgun.php @@ -3,7 +3,7 @@ * Plugin Name: Mailgun * Plugin URI: http://wordpress.org/extend/plugins/mailgun/ * Description: Mailgun integration for WordPress - * Version: 2.1.4 + * Version: 2.1.5 * Requires PHP: 7.4 * Requires at least: 4.4 * Author: Mailgun