Version Description
(2017-01-04): =
* Add better support for using recipient variables for batch mailing.
* Clarify wording on From Address note
* Detect from name and address for phpmailer_init / SMTP now will honour Mailgun "From Name / From Addr" settings
* SMTP configuration test will now provide the error message, if the send fails
* Fix undefined variable: content_type error in wp-mail.php (https://wordpress.org/support/topic/minor-bug-on-version-version-1-5-6/#post-8634762)
* Fix undefined index: override-from error in wp-mail.php (https://wordpress.org/support/topic/php-notice-undefined-index-override-from/)
Download this release
Release Info
| Developer | Mailgun |
| Plugin | |
| Version | 1.5.7 |
| Comparing to | |
| See all releases | |
Code changes from version 1.5.7.1 to 1.5.7
- CHANGELOG.md +0 -4
- includes/wp-mail.php +2 -2
- mailgun.php +1 -1
- readme.txt +1 -5
CHANGELOG.md
CHANGED
|
@@ -1,10 +1,6 @@
|
|
| 1 |
Changelog
|
| 2 |
=========
|
| 3 |
|
| 4 |
-
1.5.7.1 (2017-01-18):
|
| 5 |
-
* Fix an odd `Undefined property: MailgunAdmin::$defaults` when saving config
|
| 6 |
-
* Fix strict mode notice for using `$mailgun['override-from']` without checking `isset`
|
| 7 |
-
|
| 8 |
1.5.7 (2017-01-04):
|
| 9 |
* Add better support for using recipient variables for batch mailing.
|
| 10 |
* Clarify wording on `From Address` note
|
| 1 |
Changelog
|
| 2 |
=========
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
1.5.7 (2017-01-04):
|
| 5 |
* Add better support for using recipient variables for batch mailing.
|
| 6 |
* Clarify wording on `From Address` note
|
includes/wp-mail.php
CHANGED
|
@@ -223,8 +223,8 @@ function wp_mail($to, $subject, $message, $headers = '', $attachments = array())
|
|
| 223 |
}
|
| 224 |
}
|
| 225 |
|
| 226 |
-
if (
|
| 227 |
-
&& !empty($mailgun['from-
|
| 228 |
) {
|
| 229 |
$from_name = $mailgun['from-name'];
|
| 230 |
$from_email = $mailgun['from-address'];
|
| 223 |
}
|
| 224 |
}
|
| 225 |
|
| 226 |
+
if ($mailgun['override-from'] && !empty($mailgun['from-name'])
|
| 227 |
+
&& !empty($mailgun['from-address'])
|
| 228 |
) {
|
| 229 |
$from_name = $mailgun['from-name'];
|
| 230 |
$from_email = $mailgun['from-address'];
|
mailgun.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
* Plugin Name: Mailgun
|
| 5 |
* Plugin URI: http://wordpress.org/extend/plugins/mailgun/
|
| 6 |
* Description: Mailgun integration for WordPress
|
| 7 |
-
* Version: 1.5.7
|
| 8 |
* Author: Mailgun
|
| 9 |
* Author URI: http://www.mailgun.com/
|
| 10 |
* License: GPLv2 or later
|
| 4 |
* Plugin Name: Mailgun
|
| 5 |
* Plugin URI: http://wordpress.org/extend/plugins/mailgun/
|
| 6 |
* Description: Mailgun integration for WordPress
|
| 7 |
+
* Version: 1.5.7
|
| 8 |
* Author: Mailgun
|
| 9 |
* Author URI: http://www.mailgun.com/
|
| 10 |
* License: GPLv2 or later
|
readme.txt
CHANGED
|
@@ -5,7 +5,7 @@ Contributors: Mailgun, sivel, lookahead.io, m35dev
|
|
| 5 |
Tags: mailgun, smtp, http, api, mail, email
|
| 6 |
Requires at least: 3.3
|
| 7 |
Tested up to: 4.7.1
|
| 8 |
-
Stable tag: 1.5.7
|
| 9 |
License: GPLv2 or later
|
| 10 |
|
| 11 |
|
|
@@ -70,10 +70,6 @@ MAILGUN_FROM_ADDRESS Type: string
|
|
| 70 |
|
| 71 |
== Changelog ==
|
| 72 |
|
| 73 |
-
= 1.5.7.1 (2017-01-18): =
|
| 74 |
-
* Fix an odd `Undefined property: MailgunAdmin::$defaults` when saving config
|
| 75 |
-
* Fix strict mode notice for using `$mailgun['override-from']` without checking `isset`
|
| 76 |
-
|
| 77 |
= 1.5.7 (2017-01-04): =
|
| 78 |
* Add better support for using recipient variables for batch mailing.
|
| 79 |
* Clarify wording on `From Address` note
|
| 5 |
Tags: mailgun, smtp, http, api, mail, email
|
| 6 |
Requires at least: 3.3
|
| 7 |
Tested up to: 4.7.1
|
| 8 |
+
Stable tag: 1.5.7
|
| 9 |
License: GPLv2 or later
|
| 10 |
|
| 11 |
|
| 70 |
|
| 71 |
== Changelog ==
|
| 72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 73 |
= 1.5.7 (2017-01-04): =
|
| 74 |
* Add better support for using recipient variables for batch mailing.
|
| 75 |
* Clarify wording on `From Address` note
|
