Version Description
- Fixed bug related to back-compatibility with WooCommerce versions < 2.2.*
Download this release
Release Info
Developer | AmirHelzer |
Plugin | WooCommerce Multilingual – run WooCommerce with WPML |
Version | 3.3.4 |
Comparing to | |
See all releases |
Code changes from version 3.3.3 to 3.3.4
- readme.txt +4 -1
- woocommerce_wpml.class.php +1 -1
- wpml-woocommerce.php +2 -2
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: CMS, woocommerce, commerce, ecommerce, e-commerce, products, WPML, multili
|
|
5 |
License: GPLv2
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 4.0
|
8 |
-
Stable tag: 3.3.
|
9 |
|
10 |
Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
|
11 |
|
@@ -77,6 +77,9 @@ In order for the checkout and store pages to appear translated, you need to crea
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 3.3.3 =
|
81 |
* Compatibility with WooCommerce 2.2.x
|
82 |
* Auto-download WooCommerce translations for active and new languages
|
5 |
License: GPLv2
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 4.0
|
8 |
+
Stable tag: 3.3.4
|
9 |
|
10 |
Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
|
11 |
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 3.3.4 =
|
81 |
+
* Fixed bug related to back-compatibility with WooCommerce versions < 2.2.*
|
82 |
+
|
83 |
= 3.3.3 =
|
84 |
* Compatibility with WooCommerce 2.2.x
|
85 |
* Auto-download WooCommerce translations for active and new languages
|
woocommerce_wpml.class.php
CHANGED
@@ -546,7 +546,7 @@ class woocommerce_wpml {
|
|
546 |
|
547 |
$locale = $sitepress->get_locale( $lang_code );
|
548 |
|
549 |
-
if( $locale != 'en_US' ){
|
550 |
$sitepress->switch_lang( $lang_code );
|
551 |
|
552 |
include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
546 |
|
547 |
$locale = $sitepress->get_locale( $lang_code );
|
548 |
|
549 |
+
if( $locale != 'en_US' && class_exists( 'WC_Language_Pack_Upgrader' ) ){
|
550 |
$sitepress->switch_lang( $lang_code );
|
551 |
|
552 |
include_once( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
|
wpml-woocommerce.php
CHANGED
@@ -5,12 +5,12 @@
|
|
5 |
Description: Allows running fully multilingual e-Commerce sites with WooCommerce and WPML. <a href="http://wpml.org/documentation/related-projects/woocommerce-multilingual/">Documentation</a>.
|
6 |
Author: OnTheGoSystems
|
7 |
Author URI: http://www.onthegosystems.com/
|
8 |
-
Version: 3.3.
|
9 |
*/
|
10 |
|
11 |
|
12 |
if(defined('WCML_VERSION')) return;
|
13 |
-
define('WCML_VERSION', '3.3.
|
14 |
define('WCML_PLUGIN_PATH', dirname(__FILE__));
|
15 |
define('WCML_PLUGIN_FOLDER', basename(WCML_PLUGIN_PATH));
|
16 |
define('WCML_PLUGIN_URL', plugins_url() . '/' . WCML_PLUGIN_FOLDER);
|
5 |
Description: Allows running fully multilingual e-Commerce sites with WooCommerce and WPML. <a href="http://wpml.org/documentation/related-projects/woocommerce-multilingual/">Documentation</a>.
|
6 |
Author: OnTheGoSystems
|
7 |
Author URI: http://www.onthegosystems.com/
|
8 |
+
Version: 3.3.4
|
9 |
*/
|
10 |
|
11 |
|
12 |
if(defined('WCML_VERSION')) return;
|
13 |
+
define('WCML_VERSION', '3.3.4');
|
14 |
define('WCML_PLUGIN_PATH', dirname(__FILE__));
|
15 |
define('WCML_PLUGIN_FOLDER', basename(WCML_PLUGIN_PATH));
|
16 |
define('WCML_PLUGIN_URL', plugins_url() . '/' . WCML_PLUGIN_FOLDER);
|