Translate WordPress with GTranslate - Version 2.8.53

Version Description

  • Fixed issue in Translate Woocommerce emails feature related to wordpress magic quotes
Download this release

Release Info

Developer edo888
Plugin Icon 128x128 Translate WordPress with GTranslate
Version 2.8.53
Comparing to
See all releases

Code changes from version 2.8.52 to 2.8.53

Files changed (3) hide show
  1. gtranslate.php +1 -1
  2. readme.txt +5 -2
  3. url_addon/gtranslate-email.php +5 -4
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.52
7
  Author: Translate AI Multilingual Solutions
8
  Author URI: https://gtranslate.io
9
  Text Domain: gtranslate
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.53
7
  Author: Translate AI Multilingual Solutions
8
  Author URI: https://gtranslate.io
9
  Text Domain: gtranslate
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.3
7
- Stable tag: 2.8.52
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
@@ -14,7 +14,7 @@ Translate WordPress with Google Translate multilanguage plugin to make your webs
14
 
15
  == Description ==
16
 
17
- GTranslate plugin uses Google Translate automatic translation service to **translate wordpress** site with Google power and make it **multilingual**. With 103 available languages your site will be available to more than 99% of internet users. Our paid versions are **fully SEO compatible** which will **increase your international traffic and sales**. This translate plugin is a budget multilingual WordPress solution which combines automatic and human translations to save money and is easy to implement.
18
 
19
  GTranslate is a leading website translation services provider since 2008 and powers more than 500.000 multilingual websites worldwide.
20
 
@@ -247,6 +247,9 @@ If you want us to translate your website professionally or provide you a proofre
247
  8. User Dashboard
248
 
249
  == Changelog ==
 
 
 
250
  = 2.8.52 =
251
  * Cross-site scripting (XSS) vulnerability fixed: Only possible for sub-domain, sub-directory paid options with hreflang tags enabled:
252
  An attacker can generate a malicious link and if followed by a victim then javascript code can be executed on victim's computer
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.3
7
+ Stable tag: 2.8.53
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
14
 
15
  == Description ==
16
 
17
+ Translate WordPress with GTranslate plugin uses Google Translate automatic translation service to **translate wordpress** site with Google power and make it **multilingual**. With 103 available languages your site will be available to more than 99% of internet users. Our paid versions are **fully SEO compatible** which will **increase your international traffic and sales**. This translate plugin is a budget multilingual WordPress solution which combines automatic and human translations to save money and is easy to implement.
18
 
19
  GTranslate is a leading website translation services provider since 2008 and powers more than 500.000 multilingual websites worldwide.
20
 
247
  8. User Dashboard
248
 
249
  == Changelog ==
250
+ = 2.8.53 =
251
+ * Fixed issue in Translate Woocommerce emails feature related to wordpress magic quotes
252
+
253
  = 2.8.52 =
254
  * Cross-site scripting (XSS) vulnerability fixed: Only possible for sub-domain, sub-directory paid options with hreflang tags enabled:
255
  An attacker can generate a malicious link and if followed by a victim then javascript code can be executed on victim's computer
url_addon/gtranslate-email.php CHANGED
@@ -3,10 +3,11 @@ error_reporting(0);
3
 
4
  include 'config.php';
5
 
6
- if(!isset($_GET['glang']))
7
  exit;
8
 
9
  $glang = $_GET['glang'];
 
10
 
11
  $main_lang = isset($data['default_language']) ? $data['default_language'] : $main_lang;
12
 
@@ -23,8 +24,8 @@ if(file_exists($wp_config_dir) and isset($_POST['access_key'])) {
23
  exit;
24
  }
25
 
26
- if(!isset($_POST['subject']) or isset($_POST['body'])) {
27
- die($_POST['body']);
28
  }
29
 
30
  if(!function_exists('curl_init')) {
@@ -41,7 +42,7 @@ curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
41
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
42
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
43
  curl_setopt($ch, CURLOPT_POST, 1);
44
- curl_setopt($ch, CURLOPT_POSTFIELDS, $_POST['body']);
45
 
46
  // Debug
47
  if($debug or isset($_GET['enable_debug'])) {
3
 
4
  include 'config.php';
5
 
6
+ if(!isset($_GET['glang']) or !isset($_POST['body']))
7
  exit;
8
 
9
  $glang = $_GET['glang'];
10
+ $body = $_POST['body'];
11
 
12
  $main_lang = isset($data['default_language']) ? $data['default_language'] : $main_lang;
13
 
24
  exit;
25
  }
26
 
27
+ if(!isset($_POST['subject'])) {
28
+ die($body);
29
  }
30
 
31
  if(!function_exists('curl_init')) {
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
 
47
  // Debug
48
  if($debug or isset($_GET['enable_debug'])) {