Mailgun for WordPress - Version 1.7.4

Version Description

Download this release

Release Info

Developer Mailgun
Plugin Icon 128x128 Mailgun for WordPress
Version 1.7.4
Comparing to
See all releases

Code changes from version 1.7.3 to 1.7.4

CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
  Changelog
2
  =========
3
 
 
 
 
 
 
 
 
4
  1.7.1 (2019-02-07)
5
  - Reinstall settings page for multisites.
6
 
1
  Changelog
2
  =========
3
 
4
+ 1.7.3 (2021-02-19)
5
+ - Update plugin version
6
+
7
+ 1.7.2 (2020-10-07)
8
+ - Test plugin with PHP 7.4.
9
+ - Test plugin up to WordPress 5.5.1.
10
+
11
  1.7.1 (2019-02-07)
12
  - Reinstall settings page for multisites.
13
 
assets/banner-772x250.png ADDED
Binary file
assets/icon-128x128.png ADDED
Binary file
assets/icon-256x256.png ADDED
Binary file
assets/screenshot-1.png ADDED
Binary file
assets/screenshot-2.png ADDED
Binary file
includes/options-page.php CHANGED
@@ -260,7 +260,7 @@ $mailgun_use_api = !is_null($mailgun_use_api_const) ? ((string)(1 * $mailgun_use
260
  </select>
261
  <p class="description">
262
  <?php
263
- $url = 'http://documentation.mailgun.com/user_manual.html#tracking-clicks';
264
  $link = sprintf(
265
  wp_kses(
266
  __('If enabled, Mailgun will track links. <a href="%1$s" target="%2$s">Open Tracking Documentation</a>.', 'mailgun'),
@@ -287,7 +287,7 @@ $mailgun_use_api = !is_null($mailgun_use_api_const) ? ((string)(1 * $mailgun_use
287
  </select>
288
  <p class="description">
289
  <?php
290
- $url = 'http://documentation.mailgun.com/user_manual.html#tracking-opens';
291
  $link = sprintf(
292
  wp_kses(
293
  __('If enabled, HTML messages will include an open tracking beacon. <a href="%1$s" target="%2$s">Open Tracking Documentation</a>.', 'mailgun'),
@@ -371,8 +371,8 @@ $mailgun_use_api = !is_null($mailgun_use_api_const) ? ((string)(1 * $mailgun_use
371
  _e('If added, this tag will exist on every outbound message. Statistics will be populated in the Mailgun Control Panel. Use a comma to define multiple tags. ', 'mailgun');
372
  _e('Learn more about', 'mailgun');
373
 
374
- $url1 = 'https://documentation.mailgun.com/user_manual.html#tracking-messages';
375
- $url2 = 'https://documentation.mailgun.com/user_manual.html#tagging';
376
  $link = sprintf(
377
  wp_kses(
378
  __('<a href="%1$s" target="%3$s">Tracking</a> and <a href="%2$s" target="%3$s">Tagging</a>', 'mailgun'),
260
  </select>
261
  <p class="description">
262
  <?php
263
+ $url = 'https://documentation.mailgun.com/en/latest/user_manual.html#tracking-clicks';
264
  $link = sprintf(
265
  wp_kses(
266
  __('If enabled, Mailgun will track links. <a href="%1$s" target="%2$s">Open Tracking Documentation</a>.', 'mailgun'),
287
  </select>
288
  <p class="description">
289
  <?php
290
+ $url = 'https://documentation.mailgun.com/en/latest/user_manual.html#tracking-opens';
291
  $link = sprintf(
292
  wp_kses(
293
  __('If enabled, HTML messages will include an open tracking beacon. <a href="%1$s" target="%2$s">Open Tracking Documentation</a>.', 'mailgun'),
371
  _e('If added, this tag will exist on every outbound message. Statistics will be populated in the Mailgun Control Panel. Use a comma to define multiple tags. ', 'mailgun');
372
  _e('Learn more about', 'mailgun');
373
 
374
+ $url1 = 'https://documentation.mailgun.com/en/latest/user_manual.html#tracking-messages';
375
+ $url2 = 'https://documentation.mailgun.com/en/latest/user_manual.html#tagging';
376
  $link = sprintf(
377
  wp_kses(
378
  __('<a href="%1$s" target="%3$s">Tracking</a> and <a href="%2$s" target="%3$s">Tagging</a>', 'mailgun'),
includes/wp-mail-api.php CHANGED
@@ -365,7 +365,7 @@ function wp_mail($to, $subject, $message, $headers = '', $attachments = array())
365
  $payload = '';
366
 
367
  // First, generate a boundary for the multipart message.
368
- $boundary = base_convert(uniqid('boundary', true), 10, 36);
369
 
370
  // Allow other plugins to apply body changes before creating the payload.
371
  $body = apply_filters('mg_mutate_message_body', $body);
365
  $payload = '';
366
 
367
  // First, generate a boundary for the multipart message.
368
+ $boundary = sha1(uniqid('', true));
369
 
370
  // Allow other plugins to apply body changes before creating the payload.
371
  $body = apply_filters('mg_mutate_message_body', $body);
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.7.1
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.7.3
8
  * Author: Mailgun
9
  * Author URI: http://www.mailgun.com/
10
  * License: GPLv2 or later
readme.txt CHANGED
@@ -1,11 +1,11 @@
1
  Mailgun for WordPress
2
  =====================
3
 
4
- Contributors: Mailgun, sivel, lookahead.io, m35dev
5
  Tags: mailgun, smtp, http, api, mail, email
6
  Requires at least: 3.3
7
  Tested up to: 5.5.1
8
- Stable tag: 1.7.2
9
  License: GPLv2 or later
10
 
11
 
@@ -95,7 +95,7 @@ MAILGUN_FROM_ADDRESS Type: string
95
 
96
  `mg_use_recipient_vars_syntax`
97
  Mutates messages to use recipient variables syntax - see
98
- https://documentation.mailgun.com/user_manual.html#batch-sending for more info.
99
 
100
  Should accept a list of `To` addresses.
101
 
@@ -129,6 +129,9 @@ MAILGUN_FROM_ADDRESS Type: string
129
 
130
  == Changelog ==
131
 
 
 
 
132
  = 1.7.2 (2020-10-07): =
133
  - Test plugin with PHP 7.4.
134
  - Test plugin up to WordPress 5.5.1.
1
  Mailgun for WordPress
2
  =====================
3
 
4
+ Contributors: mailgun, sivel, lookahead.io, m35dev
5
  Tags: mailgun, smtp, http, api, mail, email
6
  Requires at least: 3.3
7
  Tested up to: 5.5.1
8
+ Stable tag: 1.7.3
9
  License: GPLv2 or later
10
 
11
 
95
 
96
  `mg_use_recipient_vars_syntax`
97
  Mutates messages to use recipient variables syntax - see
98
+ https://documentation.mailgun.com/en/latest/user_manual.html#batch-sending for more info.
99
 
100
  Should accept a list of `To` addresses.
101
 
129
 
130
  == Changelog ==
131
 
132
+ = 1.7.3 (2020-10-08): =
133
+ - New assets
134
+
135
  = 1.7.2 (2020-10-07): =
136
  - Test plugin with PHP 7.4.
137
  - Test plugin up to WordPress 5.5.1.