Translate WordPress with GTranslate - Version 2.8.21

Version Description

  • Fix for gzip compression issues on mobile phones
Download this release

Release Info

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

Code changes from version 2.8.20 to 2.8.21

Files changed (3) hide show
  1. gtranslate.php +1 -1
  2. readme.txt +5 -2
  3. 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.20
7
  Author: Edvard Ananyan
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.21
7
  Author: Edvard Ananyan
8
  Author URI: https://gtranslate.io
9
  Text Domain: gtranslate
readme.txt CHANGED
@@ -4,7 +4,7 @@ Author: Edvard Ananyan
4
  Tags: bilingual, multilingual, translate, translation, language, localization, translation proxy, i18n, l10n, localisation, multilanguage, google translate
5
  Requires at least: 2.8.1
6
  Tested up to: 4.7
7
- Stable tag: 2.8.20
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
@@ -24,7 +24,6 @@ Please check our [FAQ](https://gtranslate.io/?xyz=998#faq) to get quick answers.
24
  **Features**
25
 
26
  * Free Google automatic machine translation
27
- * New neural machine translations with excellent quality
28
  * Hides "Suggest better translation" pop-up
29
  * Hides Google top frame after translation
30
  * Mouse over effect
@@ -47,6 +46,7 @@ Please check our [FAQ](https://gtranslate.io/?xyz=998#faq) to get quick answers.
47
  **Paid Features**
48
 
49
  * Multilingual SEO - Enable search engine indexing
 
50
  * Increase traffic and AdSense revenue
51
  * Search engine friendly (SEF) URLs
52
  * Yoast SEO compatible
@@ -214,6 +214,9 @@ You need to go to the language you want to edit, for instance, French: http://do
214
 
215
  == Changelog ==
216
 
 
 
 
217
  = 2.8.20 =
218
  * Google neural machine translations, better quality!!!
219
  * Added gzip compression for communication between server and client
4
  Tags: bilingual, multilingual, translate, translation, language, localization, translation proxy, i18n, l10n, localisation, multilanguage, google translate
5
  Requires at least: 2.8.1
6
  Tested up to: 4.7
7
+ Stable tag: 2.8.21
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
24
  **Features**
25
 
26
  * Free Google automatic machine translation
 
27
  * Hides "Suggest better translation" pop-up
28
  * Hides Google top frame after translation
29
  * Mouse over effect
46
  **Paid Features**
47
 
48
  * Multilingual SEO - Enable search engine indexing
49
+ * New neural machine translations with excellent quality
50
  * Increase traffic and AdSense revenue
51
  * Search engine friendly (SEF) URLs
52
  * Yoast SEO compatible
214
 
215
  == Changelog ==
216
 
217
+ = 2.8.21 =
218
+ * Fix for gzip compression issues on mobile phones
219
+
220
  = 2.8.20 =
221
  * Google neural machine translations, better quality!!!
222
  * Added gzip compression for communication between server and client
url_addon/gtranslate.php CHANGED
@@ -138,7 +138,7 @@ $html = substr($response, $header_size);
138
 
139
  if(function_exists('gzdecode')) {
140
  $return_gz = false;
141
- $html_gunzip = gzdecode($html);
142
 
143
  if($html_gunzip !== false) {
144
  $html = $html_gunzip;
138
 
139
  if(function_exists('gzdecode')) {
140
  $return_gz = false;
141
+ $html_gunzip = @gzdecode($html);
142
 
143
  if($html_gunzip !== false) {
144
  $html = $html_gunzip;