From 5b0409b6a3e34f25c5ac11f85399817d2bd626aa Mon Sep 17 00:00:00 2001 From: Oleksandr Mykhailenko Date: Thu, 6 Mar 2025 14:55:55 +0200 Subject: [PATCH] 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