WooCommerce Multilingual – run WooCommerce with WPML - Version 3.6.3

Version Description

  • Fixed a bug causing a PHP warning when using an older version of WPML String Translation
Download this release

Release Info

Developer mihaimihai
Plugin Icon 128x128 WooCommerce Multilingual – run WooCommerce with WPML
Version 3.6.3
Comparing to
See all releases

Code changes from version 3.6.2 to 3.6.3

inc/missing-php-functions.php CHANGED
@@ -55,7 +55,11 @@ function wcml_check_wpml_functions(){
55
  }
56
 
57
  if( !has_action( 'wpml_register_single_string' ) ){
58
- add_action('wpml_register_single_string', 'wpml_register_single_string_action', 10, 4);
 
 
 
 
59
  }
60
 
61
  }
55
  }
56
 
57
  if( !has_action( 'wpml_register_single_string' ) ){
58
+ if( function_exists( 'wpml_register_single_string_action' ) ) {
59
+ add_action('wpml_register_single_string', 'wpml_register_single_string_action', 10, 4);
60
+ }elseif ( function_exists( 'icl_register_string' ) ){
61
+ add_action('wpml_register_single_string', 'icl_register_string', 10, 4);
62
+ }
63
  }
64
 
65
  }
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.2.2
8
- Stable tag: 3.6.2
9
 
10
  Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
11
 
@@ -78,6 +78,9 @@ In order for the checkout and store pages to appear translated, you need to crea
78
 
79
  == Changelog ==
80
 
 
 
 
81
  = 3.6.2 =
82
  * Bug fix: A product could appear multiple times in the cart when added in different languages
83
  * Bug fix: Product attribute labels translations were not showing on the frontend in some circumstances
5
  License: GPLv2
6
  Requires at least: 3.0
7
  Tested up to: 4.2.2
8
+ Stable tag: 3.6.3
9
 
10
  Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
11
 
78
 
79
  == Changelog ==
80
 
81
+ = 3.6.3 =
82
+ * Fixed a bug causing a PHP warning when using an older version of WPML String Translation
83
+
84
  = 3.6.2 =
85
  * Bug fix: A product could appear multiple times in the cart when added in different languages
86
  * Bug fix: Product attribute labels translations were not showing on the frontend in some circumstances
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.6.2
9
  */
10
 
11
 
12
  if(defined('WCML_VERSION')) return;
13
- define('WCML_VERSION', '3.6.2');
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.6.3
9
  */
10
 
11
 
12
  if(defined('WCML_VERSION')) return;
13
+ define('WCML_VERSION', '3.6.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);