Skip to content

Commit

Permalink
Updated supported Wordpress version to 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferhan ISMAILOV committed Dec 13, 2018
1 parent 993ce05 commit c4acf5f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -114,6 +114,9 @@ function getMailjetSubscriptionEmailTemplate($templatePath) {

== Changelog ==

= 4.4.1 =
* Updated supported Wordpress version to 5.0

= 4.4.0 =
* Add proxy support

Expand Down
2 changes: 1 addition & 1 deletion api/mailjet-api-v1.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down
2 changes: 1 addition & 1 deletion api/mailjet-api-v3.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
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 @@
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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion wp-mailjet.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4acf5f

Please sign in to comment.