Translate WordPress with GTranslate - Version 2.8.56

Version Description

  • Translate WooCommerce Emails feature is fixed and is out of beta
Download this release

Release Info

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

Code changes from version 2.8.55 to 2.8.56

Files changed (2) hide show
  1. gtranslate.php +3 -2
  2. readme.txt +4 -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.55
7
  Author: Translate AI Multilingual Solutions
8
  Author URI: https://gtranslate.io
9
  Text Domain: gtranslate
@@ -1039,7 +1039,7 @@ EOT;
1039
  <td><input id="add_hreflang_tags" name="add_hreflang_tags" value="1" type="checkbox"/></td>
1040
  </tr>
1041
  <tr id="email_translation_option" style="display:none;">
1042
- <td class="option_name"><?php _e('Enable WooCommerce Email Translation', 'gtranslate'); ?> (beta):</td>
1043
  <td><input id="email_translation" name="email_translation" value="1" type="checkbox"/></td>
1044
  </tr>
1045
  <tr id="new_window_option" style="display:none;">
@@ -2266,6 +2266,7 @@ if($data['pro_version'] or $data['enterprise_version']) {
2266
  $viewer_ip_address = $_SERVER['REMOTE_ADDR'];
2267
 
2268
  $headers[] = 'X-GT-Viewer-IP: ' . $viewer_ip_address;
 
2269
 
2270
  // add X-Forwarded-For
2271
  if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) and !empty($_SERVER['HTTP_X_FORWARDED_FOR']))
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.56
7
  Author: Translate AI Multilingual Solutions
8
  Author URI: https://gtranslate.io
9
  Text Domain: gtranslate
1039
  <td><input id="add_hreflang_tags" name="add_hreflang_tags" value="1" type="checkbox"/></td>
1040
  </tr>
1041
  <tr id="email_translation_option" style="display:none;">
1042
+ <td class="option_name"><?php _e('Enable WooCommerce Email Translation', 'gtranslate'); ?>:</td>
1043
  <td><input id="email_translation" name="email_translation" value="1" type="checkbox"/></td>
1044
  </tr>
1045
  <tr id="new_window_option" style="display:none;">
2266
  $viewer_ip_address = $_SERVER['REMOTE_ADDR'];
2267
 
2268
  $headers[] = 'X-GT-Viewer-IP: ' . $viewer_ip_address;
2269
+ $headers[] = 'User-Agent: GTranslate-Email-Translate';
2270
 
2271
  // add X-Forwarded-For
2272
  if(isset($_SERVER['HTTP_X_FORWARDED_FOR']) and !empty($_SERVER['HTTP_X_FORWARDED_FOR']))
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.4
7
- Stable tag: 2.8.55
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.55 =
255
  * Fixed blank settings page issue when settings data is in corrupted state in database
256
 
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.4
7
+ Stable tag: 2.8.56
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.56 =
255
+ * Translate WooCommerce Emails feature is fixed and is out of beta
256
+
257
  = 2.8.55 =
258
  * Fixed blank settings page issue when settings data is in corrupted state in database
259