WooCommerce Multilingual – run WooCommerce with WPML - Version 4.4.2.1

Version Description

  • Fix error while updating product
Download this release

Release Info

Developer sergey.r
Plugin Icon 128x128 WooCommerce Multilingual – run WooCommerce with WPML
Version 4.4.2.1
Comparing to
See all releases

Code changes from version 4.4.2 to 4.4.2.1

changelog/4.4.2.1.md ADDED
@@ -0,0 +1,2 @@
 
 
1
+ # Fixes
2
+ * [wcml-2670] Fix error while updating product
changelog/4.4.2.md CHANGED
@@ -1,3 +1,4 @@
1
  # Fixes
 
2
  * [wcml-2667] Fix error with WPML Translation management < 2.8.0 in combination with updated WPML core to 3.2.0
3
  * [wcml-2666] Fix Composite products error on orders page
1
  # Fixes
2
+ * [wcml-2668] Woocommerce Product addons fix notice with old global addons
3
  * [wcml-2667] Fix error with WPML Translation management < 2.8.0 in combination with updated WPML core to 3.2.0
4
  * [wcml-2666] Fix Composite products error on orders page
inc/translation-editor/class-wcml-synchronize-product-data.php CHANGED
@@ -105,7 +105,7 @@ class WCML_Synchronize_Product_Data{
105
 
106
  //trnsl_interface option
107
  if( $this->woocommerce_wpml->is_wpml_prior_4_2() ){
108
- $is_using_native_editor = !self::$woocommerce_wpml->settings['trnsl_interface'];
109
  }else{
110
  $is_using_native_editor = !WPML_TM_Post_Edit_TM_Editor_Mode::is_using_tm_editor( $this->sitepress, $original_product_id );
111
  }
105
 
106
  //trnsl_interface option
107
  if( $this->woocommerce_wpml->is_wpml_prior_4_2() ){
108
+ $is_using_native_editor = !$this->woocommerce_wpml->settings['trnsl_interface'];
109
  }else{
110
  $is_using_native_editor = !WPML_TM_Post_Edit_TM_Editor_Mode::is_using_tm_editor( $this->sitepress, $original_product_id );
111
  }
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://wpml.org/documentation/related-projects/woocommerce-multilin
4
  Tags: CMS, woocommerce, commerce, ecommerce, e-commerce, products, WPML, multilingual, e-shop, shop
5
  License: GPLv2
6
  Requires at least: 3.9
7
- Tested up to: 5.0.3
8
- Stable tag: 4.4.2
9
 
10
  Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
11
 
@@ -140,7 +140,11 @@ WooCommerce Multilingual is compatible with all major WooCommerce extensions. We
140
 
141
  == Changelog ==
142
 
 
 
 
143
  = 4.4.2 =
 
144
  * Fix error with WPML Translation management < 2.8.0 in combination with updated WPML core to 3.2.0
145
  * Fix Composite products error on orders page
146
 
4
  Tags: CMS, woocommerce, commerce, ecommerce, e-commerce, products, WPML, multilingual, e-shop, shop
5
  License: GPLv2
6
  Requires at least: 3.9
7
+ Tested up to: 5.1
8
+ Stable tag: 4.4.2.1
9
 
10
  Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
11
 
140
 
141
  == Changelog ==
142
 
143
+ = 4.4.2.1 =
144
+ * Fix error while updating product
145
+
146
  = 4.4.2 =
147
+ * Woocommerce Product addons fix notice with old global addons
148
  * Fix error with WPML Translation management < 2.8.0 in combination with updated WPML core to 3.2.0
149
  * Fix Composite products error on orders page
150
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit312e08c087a223fe3e2271ca0d2b50a9::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit4dd7b8af9819cda305271fc30af4e92e::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInita1b8f4c9d068fef42254b8c0a8c82073::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit9f4cbe4e044be3ae24be4934f9665025::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit312e08c087a223fe3e2271ca0d2b50a9
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit312e08c087a223fe3e2271ca0d2b50a9
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit312e08c087a223fe3e2271ca0d2b50a9', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit312e08c087a223fe3e2271ca0d2b50a9', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit312e08c087a223fe3e2271ca0d2b50a9::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit312e08c087a223fe3e2271ca0d2b50a9
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit312e08c087a223fe3e2271ca0d2b50a9::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire312e08c087a223fe3e2271ca0d2b50a9($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire312e08c087a223fe3e2271ca0d2b50a9($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit4dd7b8af9819cda305271fc30af4e92e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit4dd7b8af9819cda305271fc30af4e92e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit4dd7b8af9819cda305271fc30af4e92e', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit4dd7b8af9819cda305271fc30af4e92e::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit4dd7b8af9819cda305271fc30af4e92e::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire4dd7b8af9819cda305271fc30af4e92e($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire4dd7b8af9819cda305271fc30af4e92e($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInita1b8f4c9d068fef42254b8c0a8c82073 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInita1b8f4c9d068fef42254b8c0a8c82073 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInita1b8f4c9d068fef42254b8c0a8c82073', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInita1b8f4c9d068fef42254b8c0a8c82073', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit9f4cbe4e044be3ae24be4934f9665025 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit9f4cbe4e044be3ae24be4934f9665025', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit9f4cbe4e044be3ae24be4934f9665025', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit312e08c087a223fe3e2271ca0d2b50a9
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
@@ -238,10 +238,10 @@ class ComposerStaticInit312e08c087a223fe3e2271ca0d2b50a9
238
  public static function getInitializer(ClassLoader $loader)
239
  {
240
  return \Closure::bind(function () use ($loader) {
241
- $loader->prefixLengthsPsr4 = ComposerStaticInit312e08c087a223fe3e2271ca0d2b50a9::$prefixLengthsPsr4;
242
- $loader->prefixDirsPsr4 = ComposerStaticInit312e08c087a223fe3e2271ca0d2b50a9::$prefixDirsPsr4;
243
- $loader->prefixesPsr0 = ComposerStaticInit312e08c087a223fe3e2271ca0d2b50a9::$prefixesPsr0;
244
- $loader->classMap = ComposerStaticInit312e08c087a223fe3e2271ca0d2b50a9::$classMap;
245
 
246
  }, null, ClassLoader::class);
247
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit4dd7b8af9819cda305271fc30af4e92e
8
  {
9
  public static $files = array (
10
  'b45b351e6b6f7487d819961fef2fda77' => __DIR__ . '/..' . '/jakeasmith/http_build_url/src/http_build_url.php',
238
  public static function getInitializer(ClassLoader $loader)
239
  {
240
  return \Closure::bind(function () use ($loader) {
241
+ $loader->prefixLengthsPsr4 = ComposerStaticInit4dd7b8af9819cda305271fc30af4e92e::$prefixLengthsPsr4;
242
+ $loader->prefixDirsPsr4 = ComposerStaticInit4dd7b8af9819cda305271fc30af4e92e::$prefixDirsPsr4;
243
+ $loader->prefixesPsr0 = ComposerStaticInit4dd7b8af9819cda305271fc30af4e92e::$prefixesPsr0;
244
+ $loader->classMap = ComposerStaticInit4dd7b8af9819cda305271fc30af4e92e::$classMap;
245
 
246
  }, null, ClassLoader::class);
247
  }
wpml-woocommerce.php CHANGED
@@ -8,7 +8,7 @@
8
  Text Domain: woocommerce-multilingual
9
  Requires at least: 3.9
10
  Tested up to: 5.0.3
11
- Version: 4.4.2
12
  WC requires at least: 3.3.0
13
  WC tested up to: 3.5.4
14
  */
@@ -17,7 +17,7 @@ if ( defined( 'WCML_VERSION' ) ) {
17
  return;
18
  }
19
 
20
- define( 'WCML_VERSION', '4.4.2' );
21
  define( 'WCML_PLUGIN_PATH', dirname( __FILE__ ) );
22
  define( 'WCML_PLUGIN_FOLDER', basename( WCML_PLUGIN_PATH ) );
23
  define( 'WCML_LOCALE_PATH', WCML_PLUGIN_PATH . '/locale' );
8
  Text Domain: woocommerce-multilingual
9
  Requires at least: 3.9
10
  Tested up to: 5.0.3
11
+ Version: 4.4.2.1
12
  WC requires at least: 3.3.0
13
  WC tested up to: 3.5.4
14
  */
17
  return;
18
  }
19
 
20
+ define( 'WCML_VERSION', '4.4.2.1' );
21
  define( 'WCML_PLUGIN_PATH', dirname( __FILE__ ) );
22
  define( 'WCML_PLUGIN_FOLDER', basename( WCML_PLUGIN_PATH ) );
23
  define( 'WCML_LOCALE_PATH', WCML_PLUGIN_PATH . '/locale' );