WooCommerce Multilingual – run WooCommerce with WPML - Version 4.2.3

Version Description

  • A fatal error occurred when deactivating WPML with WooCommerce Multilingual being active
Download this release

Release Info

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

Code changes from version 4.2.2 to 4.2.3

changelog/4.2.3.md ADDED
@@ -0,0 +1,2 @@
 
 
1
+ # Fixes
2
+ * [wcml-2150] A fatal error occurred when deactivating WPML with WooCommerce Multilingual being active
inc/class-woocommerce-wpml.php CHANGED
@@ -94,10 +94,10 @@ class woocommerce_wpml {
94
  $this->cs_properties = new WCML_Currency_Switcher_Properties();
95
  $this->cs_templates = new WCML_Currency_Switcher_Templates( $this, $sitepress->get_wp_api() );
96
  $this->cs_templates->init_hooks();
97
- }
98
 
99
- $wc_shortccode_product_category = new WCML_WC_Shortcode_Product_Category( $sitepress );
100
- $wc_shortccode_product_category->add_hooks();
 
101
 
102
  }
103
 
94
  $this->cs_properties = new WCML_Currency_Switcher_Properties();
95
  $this->cs_templates = new WCML_Currency_Switcher_Templates( $this, $sitepress->get_wp_api() );
96
  $this->cs_templates->init_hooks();
 
97
 
98
+ $wc_shortccode_product_category = new WCML_WC_Shortcode_Product_Category( $sitepress );
99
+ $wc_shortccode_product_category->add_hooks();
100
+ }
101
 
102
  }
103
 
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.9
7
  Tested up to: 4.8.1
8
- Stable tag: 4.2.2
9
 
10
  Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
11
 
@@ -142,6 +142,9 @@ WooCommerce Multilingual is compatible with all major WooCommerce extensions. We
142
 
143
  == Changelog ==
144
 
 
 
 
145
  = 4.2.2 =
146
  * Added a filter to include links to the String Translation table for custom options/settings in Woocommerce Gateway settings panel
147
  * Added logic to display a warning in the back-end when built in taxonomies translation status (set to 'translate') is overridden
@@ -1045,4 +1048,4 @@ Fixed a few bugs. Added multi-currency mode.
1045
  Recommended update! Fixed a few bugs;
1046
 
1047
  = 0.9 =
1048
- * First release
5
  License: GPLv2
6
  Requires at least: 3.9
7
  Tested up to: 4.8.1
8
+ Stable tag: 4.2.3
9
 
10
  Allows running fully multilingual e-commerce sites using WooCommerce and WPML.
11
 
142
 
143
  == Changelog ==
144
 
145
+ = 4.2.3 =
146
+ * A fatal error occurred when deactivating WPML with WooCommerce Multilingual being active
147
+
148
  = 4.2.2 =
149
  * Added a filter to include links to the String Translation table for custom options/settings in Woocommerce Gateway settings panel
150
  * Added logic to display a warning in the back-end when built in taxonomies translation status (set to 'translate') is overridden
1048
  Recommended update! Fixed a few bugs;
1049
 
1050
  = 0.9 =
1051
+ * First release
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit26b78b895c369b76ca5b5c1e11d29c8f::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitf3fdd0b2897f680bcf011d9521615d5d::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit08ea26d83f29a065ad634d98bd3ceb1f::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInita5a6a0a963a7756ef37e74f8678d0710::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit26b78b895c369b76ca5b5c1e11d29c8f
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit26b78b895c369b76ca5b5c1e11d29c8f
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit26b78b895c369b76ca5b5c1e11d29c8f', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit26b78b895c369b76ca5b5c1e11d29c8f', '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\ComposerStaticInit26b78b895c369b76ca5b5c1e11d29c8f::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitf3fdd0b2897f680bcf011d9521615d5d
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitf3fdd0b2897f680bcf011d9521615d5d', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitf3fdd0b2897f680bcf011d9521615d5d', '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\ComposerStaticInitf3fdd0b2897f680bcf011d9521615d5d::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
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 ComposerAutoloaderInit08ea26d83f29a065ad634d98bd3ceb1f {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit08ea26d83f29a065ad634d98bd3ceb1f {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit08ea26d83f29a065ad634d98bd3ceb1f', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit08ea26d83f29a065ad634d98bd3ceb1f', '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 ComposerAutoloaderInita5a6a0a963a7756ef37e74f8678d0710 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInita5a6a0a963a7756ef37e74f8678d0710', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInita5a6a0a963a7756ef37e74f8678d0710', '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 ComposerStaticInit26b78b895c369b76ca5b5c1e11d29c8f
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
@@ -480,10 +480,10 @@ class ComposerStaticInit26b78b895c369b76ca5b5c1e11d29c8f
480
  public static function getInitializer(ClassLoader $loader)
481
  {
482
  return \Closure::bind(function () use ($loader) {
483
- $loader->prefixLengthsPsr4 = ComposerStaticInit26b78b895c369b76ca5b5c1e11d29c8f::$prefixLengthsPsr4;
484
- $loader->prefixDirsPsr4 = ComposerStaticInit26b78b895c369b76ca5b5c1e11d29c8f::$prefixDirsPsr4;
485
- $loader->prefixesPsr0 = ComposerStaticInit26b78b895c369b76ca5b5c1e11d29c8f::$prefixesPsr0;
486
- $loader->classMap = ComposerStaticInit26b78b895c369b76ca5b5c1e11d29c8f::$classMap;
487
 
488
  }, null, ClassLoader::class);
489
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitf3fdd0b2897f680bcf011d9521615d5d
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'C' =>
480
  public static function getInitializer(ClassLoader $loader)
481
  {
482
  return \Closure::bind(function () use ($loader) {
483
+ $loader->prefixLengthsPsr4 = ComposerStaticInitf3fdd0b2897f680bcf011d9521615d5d::$prefixLengthsPsr4;
484
+ $loader->prefixDirsPsr4 = ComposerStaticInitf3fdd0b2897f680bcf011d9521615d5d::$prefixDirsPsr4;
485
+ $loader->prefixesPsr0 = ComposerStaticInitf3fdd0b2897f680bcf011d9521615d5d::$prefixesPsr0;
486
+ $loader->classMap = ComposerStaticInitf3fdd0b2897f680bcf011d9521615d5d::$classMap;
487
 
488
  }, null, ClassLoader::class);
489
  }
wpml-woocommerce.php CHANGED
@@ -8,14 +8,14 @@
8
  Text Domain: woocommerce-multilingual
9
  Requires at least: 3.9
10
  Tested up to: 4.8.1
11
- Version: 4.2.2
12
  */
13
 
14
  if ( defined( 'WCML_VERSION' ) ) {
15
  return;
16
  }
17
 
18
- define( 'WCML_VERSION', '4.2.2' );
19
  define( 'WCML_PLUGIN_PATH', dirname( __FILE__ ) );
20
  define( 'WCML_PLUGIN_FOLDER', basename( WCML_PLUGIN_PATH ) );
21
  define( 'WCML_LOCALE_PATH', WCML_PLUGIN_PATH . '/locale' );
8
  Text Domain: woocommerce-multilingual
9
  Requires at least: 3.9
10
  Tested up to: 4.8.1
11
+ Version: 4.2.3
12
  */
13
 
14
  if ( defined( 'WCML_VERSION' ) ) {
15
  return;
16
  }
17
 
18
+ define( 'WCML_VERSION', '4.2.3' );
19
  define( 'WCML_PLUGIN_PATH', dirname( __FILE__ ) );
20
  define( 'WCML_PLUGIN_FOLDER', basename( WCML_PLUGIN_PATH ) );
21
  define( 'WCML_LOCALE_PATH', WCML_PLUGIN_PATH . '/locale' );