Version Description
- Fix redirection on woocommerce
Download this release
Release Info
Developer | remyb92 |
Plugin | Weglot Translate – Translate your WP website |
Version | 1.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.8 to 1.8.1
- readme.txt +5 -2
- resources/wp-weglot-css.css +2 -2
- weglot.php +5 -5
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
=== Translate your WP website
|
2 |
Contributors: remyb92
|
3 |
Tags: translate,translation,language,multilingual,bilingual,international,localization,multilanguage,multi language,translations,translator,multilangues,traduction,traducteur,ubersetzung,mehrsprachig,traduccion,traduzione,vertaling,vertaler,meertalig
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.8
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -147,6 +147,9 @@ See changelog for upgrade changes.
|
|
147 |
|
148 |
== Changelog ==
|
149 |
|
|
|
|
|
|
|
150 |
= 1.8 =
|
151 |
* Add new banner and icon
|
152 |
* improve wc redirection
|
1 |
+
=== Weglot Translate - Translate your WP website ===
|
2 |
Contributors: remyb92
|
3 |
Tags: translate,translation,language,multilingual,bilingual,international,localization,multilanguage,multi language,translations,translator,multilangues,traduction,traducteur,ubersetzung,mehrsprachig,traduccion,traduzione,vertaling,vertaler,meertalig
|
4 |
Requires at least: 4.5
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.8.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
147 |
|
148 |
== Changelog ==
|
149 |
|
150 |
+
= 1.8.1 =
|
151 |
+
* Fix redirection on woocommerce
|
152 |
+
|
153 |
= 1.8 =
|
154 |
* Add new banner and icon
|
155 |
* improve wc redirection
|
resources/wp-weglot-css.css
CHANGED
@@ -193,7 +193,7 @@
|
|
193 |
.wg-li.is a:before { background-position: -2400px 0; }
|
194 |
.wg-li.es a:before { background-position: -480px 0; }
|
195 |
.wg-li.kk a:before { background-position: -3150px 0; }
|
196 |
-
.wg-li.ca a:before { background-position: -7230px 0; }
|
197 |
.wg-li.ky a:before { background-position: -3420px 0; }
|
198 |
.wg-li.zh a:before { background-position: -3690px 0; }
|
199 |
.wg-li.tw a:before { background-position: -2970px 0; }
|
@@ -268,7 +268,7 @@
|
|
268 |
.wg-li.flag-1.is a:before { background-position: -3297px 0; }
|
269 |
.wg-li.flag-1.es a:before { background-position: -7009px 0; }
|
270 |
.wg-li.flag-1.kk a:before { background-position: -3713px 0; }
|
271 |
-
.wg-li.flag-1.ca a:before { background-position: -
|
272 |
.wg-li.flag-1.ky a:before { background-position: -3873px 0; }
|
273 |
.wg-li.flag-1.zh a:before { background-position: -1505px 0; }
|
274 |
.wg-li.flag-1.tw a:before { background-position: -6369px 0; }
|
193 |
.wg-li.is a:before { background-position: -2400px 0; }
|
194 |
.wg-li.es a:before { background-position: -480px 0; }
|
195 |
.wg-li.kk a:before { background-position: -3150px 0; }
|
196 |
+
.wg-li.ca a:before { background-position: -7230px 0; }
|
197 |
.wg-li.ky a:before { background-position: -3420px 0; }
|
198 |
.wg-li.zh a:before { background-position: -3690px 0; }
|
199 |
.wg-li.tw a:before { background-position: -2970px 0; }
|
268 |
.wg-li.flag-1.is a:before { background-position: -3297px 0; }
|
269 |
.wg-li.flag-1.es a:before { background-position: -7009px 0; }
|
270 |
.wg-li.flag-1.kk a:before { background-position: -3713px 0; }
|
271 |
+
.wg-li.flag-1.ca a:before { background-position: -8321px 0; }
|
272 |
.wg-li.flag-1.ky a:before { background-position: -3873px 0; }
|
273 |
.wg-li.flag-1.zh a:before { background-position: -1505px 0; }
|
274 |
.wg-li.flag-1.tw a:before { background-position: -6369px 0; }
|
weglot.php
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Weglot
|
4 |
-
* @version 1.8
|
5 |
*/
|
6 |
|
7 |
/*
|
8 |
-
Plugin Name:
|
9 |
Plugin URI: http://wordpress.org/plugins/weglot/
|
10 |
Description: Translate your website into multiple languages in minutes without doing any coding. Fully SEO compatible.
|
11 |
Author: Weglot Translate team
|
12 |
Author URI: https://weglot.com/
|
13 |
Text Domain: weglot
|
14 |
Domain Path: /languages/
|
15 |
-
Version: 1.8
|
16 |
*/
|
17 |
|
18 |
/*
|
@@ -83,7 +83,7 @@ do_action( 'weg_fs_loaded' );
|
|
83 |
|
84 |
|
85 |
|
86 |
-
define( 'WEGLOT_VERSION', '1.8' );
|
87 |
define( 'WEGLOT_DIR', dirname( __FILE__ ) );
|
88 |
define( 'WEGLOT_BNAME', plugin_basename( __FILE__ ) );
|
89 |
define( 'WEGLOT_DIRURL', plugin_dir_url( __FILE__ ) );
|
@@ -313,7 +313,7 @@ class Weglot {
|
|
313 |
}
|
314 |
}
|
315 |
|
316 |
-
public function filter_woocommerce_get_checkout_order_received_url( $order_received_url
|
317 |
|
318 |
if($this->currentlang != $this->original_l) {
|
319 |
return $this->replaceUrl($order_received_url, $this->currentlang);
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Weglot
|
4 |
+
* @version 1.8.1
|
5 |
*/
|
6 |
|
7 |
/*
|
8 |
+
Plugin Name: Weglot Translate
|
9 |
Plugin URI: http://wordpress.org/plugins/weglot/
|
10 |
Description: Translate your website into multiple languages in minutes without doing any coding. Fully SEO compatible.
|
11 |
Author: Weglot Translate team
|
12 |
Author URI: https://weglot.com/
|
13 |
Text Domain: weglot
|
14 |
Domain Path: /languages/
|
15 |
+
Version: 1.8.1
|
16 |
*/
|
17 |
|
18 |
/*
|
83 |
|
84 |
|
85 |
|
86 |
+
define( 'WEGLOT_VERSION', '1.8.1' );
|
87 |
define( 'WEGLOT_DIR', dirname( __FILE__ ) );
|
88 |
define( 'WEGLOT_BNAME', plugin_basename( __FILE__ ) );
|
89 |
define( 'WEGLOT_DIRURL', plugin_dir_url( __FILE__ ) );
|
313 |
}
|
314 |
}
|
315 |
|
316 |
+
public function filter_woocommerce_get_checkout_order_received_url( $order_received_url ) {
|
317 |
|
318 |
if($this->currentlang != $this->original_l) {
|
319 |
return $this->replaceUrl($order_received_url, $this->currentlang);
|