Translate WordPress with GTranslate - Version 2.8.38

Version Description

  • Hreflang tags bug fixed
  • Pricing info updated
Download this release

Release Info

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

Code changes from version 2.8.37 to 2.8.38

Files changed (2) hide show
  1. gtranslate.php +4 -3
  2. readme.txt +5 -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.37
7
  Author: Translate AI Multilingual Solutions
8
  Author URI: https://gtranslate.io
9
  Text Domain: gtranslate
@@ -1204,7 +1204,7 @@ EOT;
1204
  <li style="margin:0;"><?php _e('Priority Live Chat support', 'gtranslate'); ?></li>
1205
  </ul>
1206
 
1207
- <p><?php _e('Prices starting from <b>$3.99/month</b>!', 'gtranslate'); ?></p>
1208
 
1209
  <a href="https://gtranslate.io/?xyz=998#pricing" target="_blank" class="button-primary"><?php _e('Try Now (15 days free)', 'gtranslate'); ?></a> <a href="https://gtranslate.io/?xyz=998#faq" target="_blank" class="button-primary"><?php _e('FAQ', 'gtranslate'); ?></a> <a href="https://gtranslate.io/?xyz=998#contact" target="_blank" class="button-primary"><?php _e('Live Chat', 'gtranslate'); ?></a>
1210
  </div>
@@ -1951,7 +1951,8 @@ if($data['add_hreflang_tags'] and ($data['pro_version'] or $data['enterprise_ver
1951
  else
1952
  $enabled_languages = $data['incl_langs'];
1953
 
1954
- $current_url = wp_get_canonical_url();
 
1955
 
1956
  if($current_url !== false) {
1957
  // adding default language
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.38
7
  Author: Translate AI Multilingual Solutions
8
  Author URI: https://gtranslate.io
9
  Text Domain: gtranslate
1204
  <li style="margin:0;"><?php _e('Priority Live Chat support', 'gtranslate'); ?></li>
1205
  </ul>
1206
 
1207
+ <p><?php _e('Prices starting from <b>$5.99/month</b>!', 'gtranslate'); ?></p>
1208
 
1209
  <a href="https://gtranslate.io/?xyz=998#pricing" target="_blank" class="button-primary"><?php _e('Try Now (15 days free)', 'gtranslate'); ?></a> <a href="https://gtranslate.io/?xyz=998#faq" target="_blank" class="button-primary"><?php _e('FAQ', 'gtranslate'); ?></a> <a href="https://gtranslate.io/?xyz=998#contact" target="_blank" class="button-primary"><?php _e('Live Chat', 'gtranslate'); ?></a>
1210
  </div>
1951
  else
1952
  $enabled_languages = $data['incl_langs'];
1953
 
1954
+ //$current_url = wp_get_canonical_url();
1955
+ $current_url = home_url(add_query_arg(null, null));
1956
 
1957
  if($current_url !== false) {
1958
  // adding default language
readme.txt CHANGED
@@ -4,7 +4,7 @@ Author: Translate AI Multilingual Solutions
4
  Tags: translate wordpress, multilingual, translate, translation, language, bilingual, localization, translation proxy, i18n, l10n, localisation, multilanguage, google translate
5
  Requires at least: 2.8.1
6
  Tested up to: 4.9
7
- Stable tag: 2.8.37
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
@@ -220,6 +220,10 @@ You need to go to the language you want to edit, for instance, French: http://do
220
 
221
  == Changelog ==
222
 
 
 
 
 
223
  = 2.8.37 =
224
  * Fix for identical hreflang tags when using www prefix for domain
225
 
4
  Tags: translate wordpress, multilingual, translate, translation, language, bilingual, localization, translation proxy, i18n, l10n, localisation, multilanguage, google translate
5
  Requires at least: 2.8.1
6
  Tested up to: 4.9
7
+ Stable tag: 2.8.38
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
220
 
221
  == Changelog ==
222
 
223
+ = 2.8.38 =
224
+ * Hreflang tags bug fixed
225
+ * Pricing info updated
226
+
227
  = 2.8.37 =
228
  * Fix for identical hreflang tags when using www prefix for domain
229