Skip to content

Commit c18452f

Browse files
Small fixes for code and version correcting (#194)
* Small fixes for code and version correcting * Small fixes for code and version correcting
1 parent e0a5863 commit c18452f

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Changelog
22
=========
33

4+
2.1.2 (2024-11-17)
5+
- Fixed code. Removed line that try to connect not existing file. Fixed versions in the plugin
6+
47
2.1.1 (2024-08-17)
58
- Added fallback to regular mail in case or error during sending email vua API
69

mailgun.php

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Mailgun
44
* Plugin URI: http://wordpress.org/extend/plugins/mailgun/
55
* Description: Mailgun integration for WordPress
6-
* Version: 2.1.1
6+
* Version: 2.1.2
77
* Requires PHP: 7.4
88
* Requires at least: 4.4
99
* Author: Mailgun
@@ -87,10 +87,6 @@ public function __construct()
8787
$this->deactivate_and_die(__DIR__ . '/includes/wp-mail-api.php');
8888
}
8989
}
90-
91-
if (!function_exists('mg_api_get_region') && !in_array(__DIR__ . '/includes/mg-api.php', get_included_files())) {
92-
include __DIR__ . '/includes/mg-api.php';
93-
}
9490
} else {
9591
// Using SMTP, include the SMTP filter
9692
if (!function_exists('mg_smtp_mail_filter')) {

readme.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Mailgun for WordPress
33

44
Contributors: mailgun, sivel, lookahead.io, m35dev, alanfuller
55
Tags: mailgun, smtp, http, api, mail, email
6-
Tested up to: 6.6.1
7-
Stable tag: 2.1.1
6+
Tested up to: 6.7
7+
Stable tag: 2.1.2
88
License: GPLv2 or later
99

1010
Easily send email from your WordPress site through Mailgun using the HTTP API or SMTP.
@@ -132,6 +132,9 @@ MAILGUN_REPLY_TO_ADDRESS Type: string
132132

133133
== Changelog ==
134134

135+
= 2.1.2 (2024-11-17): =
136+
- Fixed code. Removed line that try to connect not existing file. Fixed versions in the plugin
137+
135138
= 2.1.1 (2024-08-17): =
136139
- Added fallback to regular mail in case or error during sending email vua API
137140

readme.txt

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Mailgun for WordPress
33

44
Contributors: mailgun, sivel, lookahead.io, m35dev, alanfuller
55
Tags: mailgun, smtp, http, api, mail, email
6-
Tested up to: 6.6.1
7-
Stable tag: 2.1.0
6+
Tested up to: 6.7
7+
Stable tag: 2.1.2
88
License: GPLv2 or later
99

1010
Easily send email from your WordPress site through Mailgun using the HTTP API or SMTP.
@@ -128,6 +128,9 @@ MAILGUN_TRACK_OPENS Type: string Choices: 'yes' or 'no'
128128

129129
== Changelog ==
130130

131+
= 2.1.2 (2024-11-17): =
132+
- Fixed code. Removed line that try to connect not existing file. Fixed versions in the plugin
133+
131134
= 2.1.1 (2024-08-17): =
132135
- Added fallback to regular mail in case or error during sending email vua API
133136

0 commit comments

Comments
 (0)