Skip to content

Commit

Permalink
Small fixes for code and version correcting (#194)
Browse files Browse the repository at this point in the history
* Small fixes for code and version correcting

* Small fixes for code and version correcting
  • Loading branch information
oleksandr-mykhailenko authored Nov 17, 2024
1 parent e0a5863 commit c18452f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog
=========

2.1.2 (2024-11-17)
- Fixed code. Removed line that try to connect not existing file. Fixed versions in the plugin

2.1.1 (2024-08-17)
- Added fallback to regular mail in case or error during sending email vua API

Expand Down
6 changes: 1 addition & 5 deletions mailgun.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Mailgun
* Plugin URI: http://wordpress.org/extend/plugins/mailgun/
* Description: Mailgun integration for WordPress
* Version: 2.1.1
* Version: 2.1.2
* Requires PHP: 7.4
* Requires at least: 4.4
* Author: Mailgun
Expand Down Expand Up @@ -87,10 +87,6 @@ public function __construct()
$this->deactivate_and_die(__DIR__ . '/includes/wp-mail-api.php');
}
}

if (!function_exists('mg_api_get_region') && !in_array(__DIR__ . '/includes/mg-api.php', get_included_files())) {
include __DIR__ . '/includes/mg-api.php';
}
} else {
// Using SMTP, include the SMTP filter
if (!function_exists('mg_smtp_mail_filter')) {
Expand Down
7 changes: 5 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Mailgun for WordPress

Contributors: mailgun, sivel, lookahead.io, m35dev, alanfuller
Tags: mailgun, smtp, http, api, mail, email
Tested up to: 6.6.1
Stable tag: 2.1.1
Tested up to: 6.7
Stable tag: 2.1.2
License: GPLv2 or later

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

== Changelog ==

= 2.1.2 (2024-11-17): =
- Fixed code. Removed line that try to connect not existing file. Fixed versions in the plugin

= 2.1.1 (2024-08-17): =
- Added fallback to regular mail in case or error during sending email vua API

Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Mailgun for WordPress

Contributors: mailgun, sivel, lookahead.io, m35dev, alanfuller
Tags: mailgun, smtp, http, api, mail, email
Tested up to: 6.6.1
Stable tag: 2.1.0
Tested up to: 6.7
Stable tag: 2.1.2
License: GPLv2 or later

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

== Changelog ==

= 2.1.2 (2024-11-17): =
- Fixed code. Removed line that try to connect not existing file. Fixed versions in the plugin

= 2.1.1 (2024-08-17): =
- Added fallback to regular mail in case or error during sending email vua API

Expand Down

0 comments on commit c18452f

Please sign in to comment.