diff --git a/CHANGELOG.md b/CHANGELOG.md index a8fcf3e..5fd3882 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/mailgun.php b/mailgun.php index ab59d5a..8c19b28 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: 2.1.1 + * Version: 2.1.2 * Requires PHP: 7.4 * Requires at least: 4.4 * Author: Mailgun @@ -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')) { diff --git a/readme.md b/readme.md index 5f7856c..5624537 100755 --- a/readme.md +++ b/readme.md @@ -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. @@ -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 diff --git a/readme.txt b/readme.txt index cadcbc6..221450a 100755 --- a/readme.txt +++ b/readme.txt @@ -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. @@ -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