Version Description
- Fix for redirect loop in sub-directory translate mode caused by empty get parameters: ?a=&b
Download this release
Release Info
Developer | edo888 |
Plugin | Translate WordPress with GTranslate |
Version | 2.8.59 |
Comparing to | |
See all releases |
Code changes from version 2.8.58 to 2.8.59
- gtranslate.php +1 -1
- readme.txt +4 -1
- url_addon/config.php +1 -1
- 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
|
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.59
|
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.5
|
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
|
@@ -252,6 +252,9 @@ If you want us to translate your website professionally or provide you a proofre
|
|
252 |
8. User Dashboard
|
253 |
|
254 |
== Changelog ==
|
|
|
|
|
|
|
255 |
= 2.8.58 =
|
256 |
* New monochrome flags option
|
257 |
* Avoids using /RegEx/ in JavaScript to not cause conflicts with WP Rocket optimizer
|
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.5
|
7 |
+
Stable tag: 2.8.59
|
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
|
252 |
8. User Dashboard
|
253 |
|
254 |
== Changelog ==
|
255 |
+
= 2.8.59 =
|
256 |
+
* Fix for redirect loop in sub-directory translate mode caused by empty get parameters: ?a=&b= -> ?a&b
|
257 |
+
|
258 |
= 2.8.58 =
|
259 |
* New monochrome flags option
|
260 |
* Avoids using /RegEx/ in JavaScript to not cause conflicts with WP Rocket optimizer
|
url_addon/config.php
CHANGED
@@ -111,5 +111,5 @@ fy -> Frisian
|
|
111 |
xh -> Xhosa
|
112 |
*/
|
113 |
|
114 |
-
$servers = array('van', 'kars', 'sis', 'dvin', 'ani', 'evn', 'van', 'kars', 'sis', 'tigr', '
|
115 |
$debug = false;
|
111 |
xh -> Xhosa
|
112 |
*/
|
113 |
|
114 |
+
$servers = array('van', 'kars', 'sis', 'dvin', 'ani', 'evn', 'van', 'kars', 'sis', 'tigr', 'ani', 'tigr');
|
115 |
$debug = false;
|
url_addon/gtranslate.php
CHANGED
@@ -27,7 +27,7 @@ if(isset($get_params['gurl']))
|
|
27 |
unset($get_params['gurl']);
|
28 |
|
29 |
if(count($get_params)) {
|
30 |
-
$page_url .= '?' . http_build_query($get_params);
|
31 |
}
|
32 |
|
33 |
$main_lang = isset($data['default_language']) ? $data['default_language'] : $main_lang;
|
27 |
unset($get_params['gurl']);
|
28 |
|
29 |
if(count($get_params)) {
|
30 |
+
$page_url .= '?' . rtrim(str_replace('=&', '&', http_build_query($get_params)), '=');
|
31 |
}
|
32 |
|
33 |
$main_lang = isset($data['default_language']) ? $data['default_language'] : $main_lang;
|