From c4acf5f9ec9bf35f7629a677282dbe4c71c5aaa4 Mon Sep 17 00:00:00 2001 From: Ferhan ISMAILOV Date: Thu, 13 Dec 2018 10:51:55 +0200 Subject: [PATCH] Updated supported Wordpress version to 5.0 --- README.md | 7 +++++-- api/mailjet-api-v1.php | 2 +- api/mailjet-api-v3.php | 2 +- readme.txt | 7 +++++-- wp-mailjet.php | 2 +- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6887710c..ec2935ab 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Contributors: mailjet Tags: email, marketing, signup, newsletter, widget, smtp, mailjet Requires at least: 3.3.0 -Tested up to: 4.9 -Stable tag: 4.4.0 +Tested up to: 5.0 +Stable tag: 4.4.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -114,6 +114,9 @@ function getMailjetSubscriptionEmailTemplate($templatePath) { == Changelog == += 4.4.1 = +* Updated supported Wordpress version to 5.0 + = 4.4.0 = * Add proxy support diff --git a/api/mailjet-api-v1.php b/api/mailjet-api-v1.php index b151c4e2..92e26231 100644 --- a/api/mailjet-api-v1.php +++ b/api/mailjet-api-v1.php @@ -99,7 +99,7 @@ public function sendRequest($method = false, $params = array(), $request = 'GET' curl_setopt($curl_handle, CURLOPT_USERPWD, $this->apiKey . ':' . $this->secretKey); curl_setopt($curl_handle, CURLOPT_VERBOSE, true); curl_setopt($curl_handle, CURLINFO_HEADER_OUT, true); - curl_setopt($curl_handle, CURLOPT_USERAGENT, 'wordpress-v1.4.4.0'); + curl_setopt($curl_handle, CURLOPT_USERAGENT, 'wordpress-v1.4.4.1'); // Add Proxy support for Mailjet API requests if(defined('WP_PROXY_HOST') && defined('WP_PROXY_PORT') && defined('WP_PROXY_USERNAME') && defined('WP_PROXY_PASSWORD')) { diff --git a/api/mailjet-api-v3.php b/api/mailjet-api-v3.php index 533779bc..4c4bb8b7 100644 --- a/api/mailjet-api-v3.php +++ b/api/mailjet-api-v3.php @@ -507,7 +507,7 @@ private function sendRequest($object, $params, $method) curl_setopt($this->_curl_handle, CURLOPT_SSL_VERIFYHOST, 2); curl_setopt($this->_curl_handle, CURLOPT_USERPWD, $this->_apiKey.':'.$this->_secretKey); curl_setopt($this->_curl_handle, CURLOPT_CUSTOMREQUEST, $method); - curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'wordpress-4.4.0'); + curl_setopt($this->_curl_handle, CURLOPT_USERAGENT, 'wordpress-4.4.1'); // Add Proxy support for Mailjet API requests if(defined('WP_PROXY_HOST') && defined('WP_PROXY_PORT') && defined('WP_PROXY_USERNAME') && defined('WP_PROXY_PASSWORD')) { diff --git a/readme.txt b/readme.txt index 48fd90b5..07af7e11 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: mailjet Tags: email, marketing, signup, newsletter, widget, smtp, mailjet Requires at least: 3.3.0 -Tested up to: 4.9 -Stable tag: 4.4.0 +Tested up to: 5.0 +Stable tag: 4.4.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -90,6 +90,9 @@ Need help? Our multilingual support team is here to answer your questions in any == Changelog == += 4.4.1 = +* Updated supported Wordpress version to 5.0 + = 4.4.0 = * Add proxy support diff --git a/wp-mailjet.php b/wp-mailjet.php index 5c647dab..eb563673 100755 --- a/wp-mailjet.php +++ b/wp-mailjet.php @@ -2,7 +2,7 @@ /* Plugin Name: Mailjet for Wordpress -Version: 4.4.0 +Version: 4.4.1 Plugin URI: https://www.mailjet.com/plugin/wordpress.htm Description: Use mailjet SMTP to send email, manage lists and contacts within wordpress Author: Mailjet SAS