Version Description
- Fixed incompatibility with PHP 5.2
Download this release
Release Info
Developer | dgwatkins |
Plugin | WooCommerce Multilingual – run WooCommerce with WPML |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3 to 2.3.1
- readme.txt +4 -1
- woocommerce_wpml.class.php +2 -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: 3.5
|
8 |
-
Stable tag: 2.3
|
9 |
|
10 |
Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
|
11 |
|
@@ -68,6 +68,9 @@ In order for the checkout and store pages to appear translated, you need to crea
|
|
68 |
|
69 |
== Changelog ==
|
70 |
|
|
|
|
|
|
|
71 |
= 2.3 =
|
72 |
* Refactor translation and currency conversion of products & variations in cart
|
73 |
* A problem we had with shipping selection was resolved in WooCommerce itself
|
5 |
License: GPLv2
|
6 |
Requires at least: 3.0
|
7 |
Tested up to: 3.5
|
8 |
+
Stable tag: 2.3.1
|
9 |
|
10 |
Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
|
11 |
|
68 |
|
69 |
== Changelog ==
|
70 |
|
71 |
+
= 2.3.1 =
|
72 |
+
* Fixed incompatibility with PHP 5.2
|
73 |
+
|
74 |
= 2.3 =
|
75 |
* Refactor translation and currency conversion of products & variations in cart
|
76 |
* A problem we had with shipping selection was resolved in WooCommerce itself
|
woocommerce_wpml.class.php
CHANGED
@@ -420,7 +420,8 @@ class woocommerce_wpml {
|
|
420 |
'woocommerce_product_on_backorder'*/
|
421 |
);
|
422 |
//added for WC 2.0.x
|
423 |
-
$
|
|
|
424 |
|
425 |
foreach ( $email_actions as $action ) {
|
426 |
add_action( $action, array($this, 'translate_email_notification'), 9 );
|
420 |
'woocommerce_product_on_backorder'*/
|
421 |
);
|
422 |
//added for WC 2.0.x
|
423 |
+
$function = create_function('$val', 'return $val . "_notification";');
|
424 |
+
$email_actions = array_merge($email_actions, array_map($function, $email_actions));
|
425 |
|
426 |
foreach ( $email_actions as $action ) {
|
427 |
add_action( $action, array($this, 'translate_email_notification'), 9 );
|
wpml-woocommerce.php
CHANGED
@@ -5,11 +5,11 @@
|
|
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: ICanLocalize
|
7 |
Author URI: http://wpml.org/
|
8 |
-
Version: 2.3
|
9 |
*/
|
10 |
|
11 |
if(defined('WCML_VERSION')) return;
|
12 |
-
define('WCML_VERSION', '2.3');
|
13 |
define('WCML_PLUGIN_PATH', dirname(__FILE__));
|
14 |
define('WCML_PLUGIN_FOLDER', basename(WCML_PLUGIN_PATH));
|
15 |
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: ICanLocalize
|
7 |
Author URI: http://wpml.org/
|
8 |
+
Version: 2.3.1
|
9 |
*/
|
10 |
|
11 |
if(defined('WCML_VERSION')) return;
|
12 |
+
define('WCML_VERSION', '2.3.1');
|
13 |
define('WCML_PLUGIN_PATH', dirname(__FILE__));
|
14 |
define('WCML_PLUGIN_FOLDER', basename(WCML_PLUGIN_PATH));
|
15 |
define('WCML_PLUGIN_URL', plugins_url() . '/' . WCML_PLUGIN_FOLDER);
|