Version Description
- Minor change: prefer IPv4 in paid version server communication as some hosts have issues with IPv6
Download this release
Release Info
| Developer | edo888 |
| Plugin | |
| Version | 2.8.63 |
| Comparing to | |
| See all releases | |
Code changes from version 2.8.62 to 2.8.63
- gtranslate.php +2 -1
- readme.txt +4 -1
- url_addon/gtranslate-email.php +1 -0
- url_addon/gtranslate.php +1 -1
gtranslate.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: GTranslate
|
| 4 |
Plugin URI: https://gtranslate.io/?xyz=998
|
| 5 |
Description: Makes your website <strong>multilingual</strong> and available to the world using Google Translate. For support visit <a href="https://wordpress.org/support/plugin/gtranslate">GTranslate Support</a>.
|
| 6 |
-
Version: 2.8.
|
| 7 |
Author: Translate AI Multilingual Solutions
|
| 8 |
Author URI: https://gtranslate.io
|
| 9 |
Text Domain: gtranslate
|
|
@@ -2498,6 +2498,7 @@ if($data['pro_version'] or $data['enterprise_version']) {
|
|
| 2498 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 2499 |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
| 2500 |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
|
|
|
|
| 2501 |
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/url_addon/cacert.pem');
|
| 2502 |
curl_setopt($ch, CURLOPT_POST, 1);
|
| 2503 |
curl_setopt($ch, CURLOPT_POSTFIELDS, array('body' => do_shortcode("<subject>$subject</subject><message>$message</message>"), 'access_key' => md5(substr(NONCE_SALT, 0, 10) . substr(NONCE_KEY, 0, 5))));
|
| 3 |
Plugin Name: GTranslate
|
| 4 |
Plugin URI: https://gtranslate.io/?xyz=998
|
| 5 |
Description: Makes your website <strong>multilingual</strong> and available to the world using Google Translate. For support visit <a href="https://wordpress.org/support/plugin/gtranslate">GTranslate Support</a>.
|
| 6 |
+
Version: 2.8.63
|
| 7 |
Author: Translate AI Multilingual Solutions
|
| 8 |
Author URI: https://gtranslate.io
|
| 9 |
Text Domain: gtranslate
|
| 2498 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 2499 |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
| 2500 |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
|
| 2501 |
+
if(defined('CURL_IPRESOLVE_V4')) curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
| 2502 |
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__) . '/url_addon/cacert.pem');
|
| 2503 |
curl_setopt($ch, CURLOPT_POST, 1);
|
| 2504 |
curl_setopt($ch, CURLOPT_POSTFIELDS, array('body' => do_shortcode("<subject>$subject</subject><message>$message</message>"), 'access_key' => md5(substr(NONCE_SALT, 0, 10) . substr(NONCE_KEY, 0, 5))));
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Author: Translate AI Multilingual Solutions
|
|
| 4 |
Tags: translate, translate wordpress, multilingual, translation, translate language, bilingual, localization, translation proxy, localisation, multilanguage, google translate
|
| 5 |
Requires at least: 2.8.1
|
| 6 |
Tested up to: 5.7
|
| 7 |
-
Stable tag: 2.8.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
Donate link: https://gtranslate.io/?xyz=998#pricing
|
|
@@ -251,6 +251,9 @@ If you want us to translate your website professionally or provide you a proofre
|
|
| 251 |
8. User Dashboard
|
| 252 |
|
| 253 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
| 254 |
= 2.8.62 =
|
| 255 |
* Tested with new WordPress 5.7 version
|
| 256 |
* Fix for email translation debug
|
| 4 |
Tags: translate, translate wordpress, multilingual, translation, translate language, bilingual, localization, translation proxy, localisation, multilanguage, google translate
|
| 5 |
Requires at least: 2.8.1
|
| 6 |
Tested up to: 5.7
|
| 7 |
+
Stable tag: 2.8.63
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
Donate link: https://gtranslate.io/?xyz=998#pricing
|
| 251 |
8. User Dashboard
|
| 252 |
|
| 253 |
== Changelog ==
|
| 254 |
+
= 2.8.63 =
|
| 255 |
+
* Minor change: prefer IPv4 in paid version server communication as some hosts have issues with IPv6
|
| 256 |
+
|
| 257 |
= 2.8.62 =
|
| 258 |
* Tested with new WordPress 5.7 version
|
| 259 |
* Fix for email translation debug
|
url_addon/gtranslate-email.php
CHANGED
|
@@ -41,6 +41,7 @@ curl_setopt($ch, CURLOPT_URL, 'https://tdns.gtranslate.net/tdn-bin/email-transla
|
|
| 41 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 42 |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
| 43 |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
|
|
|
|
| 44 |
curl_setopt($ch, CURLOPT_POST, 1);
|
| 45 |
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
|
| 46 |
|
| 41 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 42 |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
| 43 |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
|
| 44 |
+
if(defined('CURL_IPRESOLVE_V4')) curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
| 45 |
curl_setopt($ch, CURLOPT_POST, 1);
|
| 46 |
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
|
| 47 |
|
url_addon/gtranslate.php
CHANGED
|
@@ -146,7 +146,7 @@ curl_setopt($ch, CURLOPT_URL, $page_url);
|
|
| 146 |
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
| 147 |
curl_setopt($ch, CURLOPT_HEADER, true);
|
| 148 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 149 |
-
|
| 150 |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
| 151 |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
|
| 152 |
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__).'/cacert.pem');
|
| 146 |
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
| 147 |
curl_setopt($ch, CURLOPT_HEADER, true);
|
| 148 |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| 149 |
+
if(defined('CURL_IPRESOLVE_V4')) curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
|
| 150 |
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
|
| 151 |
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
|
| 152 |
curl_setopt($ch, CURLOPT_CAINFO, dirname(__FILE__).'/cacert.pem');
|
