From d3ac8777ddc8800371dbd672bee8523bfb938030 Mon Sep 17 00:00:00 2001 From: Oleksandr Mykhailenko Date: Sat, 12 Nov 2022 11:47:53 +0200 Subject: [PATCH] =?UTF-8?q?Override=20=E2=80=9CFrom=E2=80=9D=20Details=20D?= =?UTF-8?q?ropdown=20Not=20Saving=20(#148)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Changed `Tested Up` version of WP * Changed `Tested Up` version of WP * Override “From” Details Dropdown Not Saving * Override “From” Details Dropdown Not Saving --- CHANGELOG.md | 3 + includes/options-page.php | 808 +++++++++++++++++++------------------- mailgun.php | 2 +- readme.md | 5 +- readme.txt | 5 +- 5 files changed, 417 insertions(+), 406 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index acf8b04..544a0fe 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ Changelog ========= +1.8.7 (2022-11-12) +- Fixed bug when field `Override "From" Details` was not updated + 1.8.6 (2022-11-09) - Version update diff --git a/includes/options-page.php b/includes/options-page.php index b6ee2fe..bdfe998 100755 --- a/includes/options-page.php +++ b/includes/options-page.php @@ -1,23 +1,23 @@
-

- +

+ - Mailgun + Mailgun -

+

-

- Mailgun account is required to use this plugin and the Mailgun service.', 'mailgun'), - array('a' => array( - 'href' => array(), - 'target' => array() - ) - ) - ), esc_url($url), '_blank' - ); - echo $link; - ?> -

+

+ Mailgun account is required to use this plugin and the Mailgun service.', 'mailgun'), + array('a' => array( + 'href' => array(), + 'target' => array() + ) + ) + ), esc_url($url), '_blank' + ); + echo $link; + ?> +

-

- Mailgun.com.', 'mailgun'), - array('a' => array( - 'href' => array(), - 'target' => array() - ) - ) - ), esc_url($url), '_blank' - ); - echo $link; - ?> -

+

+ Mailgun.com.', 'mailgun'), + array('a' => array( + 'href' => array(), + 'target' => array() + ) + ) + ), esc_url($url), '_blank' + ); + echo $link; + ?> +

-

-
- +

+ + - - - - + +
- - - - - + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - -
+ + + + + - -

- -

-
- - - - - + +

+ +

+
+ + + + + - -

- -

-
- - - - /> -

- -

-
- - - - /> -

- here', 'mailgun'); - ?> -

-
- - - - /> -

- -

-
- - - - /> -

- -

-
- - - - - + +

+ +

+
+ + + + /> +

+ +

+
+ + + + /> +

+ here', 'mailgun'); + ?> +

+
+ + + + /> +

+ +

+
+ + + + /> +

+ +

+
+ + + + + - -

- -

-
- - - - - + +

+ +

+
+ + + + + - -

- -

-
- - - -

- Open Tracking Documentation.', 'mailgun'), - array('a' => array( - 'href' => array(), - 'target' => array() - ) - ) - ), esc_url($url), '_blank' - ); - echo $link; - ?> -

-
- - - -

- Open Tracking Documentation.', 'mailgun'), - array('a' => array( - 'href' => array(), - 'target' => array() - ) - ) - ), esc_url($url), '_blank' - ); - echo $link; - ?> -

-
- - - - /> -

- "Excited User <user@samples.mailgun.org>"). This address will appear as the `From` address on sent mail. It is recommended that the @mydomain portion matches your Mailgun sending domain.', 'mailgun'); - ?> -

-
- - - - /> -

- "Excited User <user@samples.mailgun.org>").', 'mailgun'); - ?> -

-
- - - -

- -

-
- - - -

- > + + + +

+ +

+
+ + + +

+ Open Tracking Documentation.', 'mailgun'), + array('a' => array( + 'href' => array(), + 'target' => array() + ) + ) + ), esc_url($url), '_blank' + ); + echo $link; + ?> +

+
+ + + +

+ Open Tracking Documentation.', 'mailgun'), + array('a' => array( + 'href' => array(), + 'target' => array() + ) + ) + ), esc_url($url), '_blank' + ); + echo $link; + ?> +

+
+ + + + /> +

+ "Excited User <user@samples.mailgun.org>"). This address will appear as the `From` address on sent mail. It is recommended that the @mydomain portion matches your Mailgun sending domain.', 'mailgun'); + ?> +

+
+ + + + /> +

+ "Excited User <user@samples.mailgun.org>").', 'mailgun'); + ?> +

+
+ + + +

+ +

+
+ + + +

+ Tracking and Tagging', 'mailgun'), - array('a' => array( - 'href' => array(), - 'target' => array() - ) - ) - ), esc_url($url1), esc_url($url2), '_blank' - ); - echo $link; - ?> -

-
-

- - - - - - - - + +
- - -
- [mailgun id="{mailgun list id}" collect_name="true"] -
-
-

- -

-
-
- - - Tracking and Tagging', 'mailgun'), + array('a' => array( + 'href' => array(), + 'target' => array() + ) + ) + ), esc_url($url1), esc_url($url2), '_blank' + ); + echo $link; + ?> +

+
+

+ + + + + + + + - -
+ + +
+ [mailgun id="{mailgun list id}" collect_name="true"] +
+
+

+ +

+
+
+ + + View available lists.', 'mailgun'), - array('a' => array( - 'href' => array(), - ) - ) - ), esc_url($url) - ); - echo $link; - ?> -
-

- -

-

- - -

+ $link = sprintf( + wp_kses( + __('View available lists.', 'mailgun'), + array('a' => array( + 'href' => array(), + ) + ) + ), esc_url($url) + ); + echo $link; + ?> +
+

+ +

+

+ + +

-

- -

-
+

+ +

+
diff --git a/mailgun.php b/mailgun.php index 2112300..4cda4c2 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: 1.8.5 + * Version: 1.8.7 * Tested up to: 6.1 * Author: Mailgun * Author URI: http://www.mailgun.com/ diff --git a/readme.md b/readme.md index f1b1cc5..8d64a0b 100755 --- a/readme.md +++ b/readme.md @@ -5,7 +5,7 @@ Contributors: mailgun, sivel, lookahead.io, m35dev Tags: mailgun, smtp, http, api, mail, email Requires at least: 3.3 Tested up to: 6.1 -Stable tag: 1.8.5 +Stable tag: 1.8.7 Requires PHP: 5.6 License: GPLv2 or later @@ -130,6 +130,9 @@ MAILGUN_FROM_ADDRESS Type: string == Changelog == += 1.8.7 (2022-11-12): = +- Fixed bug when field `Override "From" Details` was not updated + = 1.8.3 (2022-08-30): = - Plugin refactoring. Widget fixes for working with Legacy Widget Block. PHP8.0 support check diff --git a/readme.txt b/readme.txt index e303bea..6d4629b 100755 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Contributors: mailgun, sivel, lookahead.io, m35dev Tags: mailgun, smtp, http, api, mail, email Requires at least: 4.4 Tested up to: 6.1 -Stable tag: v1.8.6 +Stable tag: 1.8.7 Requires PHP: 5.6 License: GPLv2 or later @@ -128,6 +128,9 @@ MAILGUN_FROM_ADDRESS Type: string == Changelog == += 1.8.7 (2022-11-12): = +- Fixed bug when field `Override "From" Details` was not updated + = 1.8.3 (2022-08-30): = - Plugin refactoring. Widget fixes for working with Legacy Widget Block. PHP8.0 support check