Flexible Shipping for WooCommerce - Version 4.0.2

Version Description

  • 2020-12-17 =
  • Fixed conflict with "WC - APG Free Shipping" plugin
Download this release

Release Info

Developer wpdesk
Plugin Icon 128x128 Flexible Shipping for WooCommerce
Version 4.0.2
Comparing to
See all releases

Code changes from version 4.0.1 to 4.0.2

classes/class-flexible-shipping-plugin.php CHANGED
@@ -220,7 +220,7 @@ class Flexible_Shipping_Plugin extends AbstractPlugin implements HookableCollect
220
  /**
221
  * Init beacon.
222
  */
223
- private function init_beacon() {
224
  if ( 'pl_PL' !== get_locale() ) {
225
  $strategy = new BeaconDisplayStrategy();
226
 
@@ -349,9 +349,9 @@ class Flexible_Shipping_Plugin extends AbstractPlugin implements HookableCollect
349
 
350
  add_action( 'woocommerce_init', array( $this, 'init_contextual_info' ) );
351
 
352
- $this->hooks_on_hookable_objects();
353
 
354
- $this->init_beacon();
355
  }
356
 
357
  /**
220
  /**
221
  * Init beacon.
222
  */
223
+ public function init_beacon() {
224
  if ( 'pl_PL' !== get_locale() ) {
225
  $strategy = new BeaconDisplayStrategy();
226
 
349
 
350
  add_action( 'woocommerce_init', array( $this, 'init_contextual_info' ) );
351
 
352
+ add_action( 'woocommerce_init', array( $this, 'init_beacon' ) );
353
 
354
+ $this->hooks_on_hookable_objects();
355
  }
356
 
357
  /**
flexible-shipping.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Flexible Shipping
4
  * Plugin URI: https://wordpress.org/plugins/flexible-shipping/
5
  * Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
6
- * Version: 4.0.1
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=plugin-list&utm_medium=link&utm_campaign=flexible-shipping-plugin-list
9
  * Text Domain: flexible-shipping
@@ -38,7 +38,7 @@ if ( ! defined( 'ABSPATH' ) ) {
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
- $plugin_version = '4.0.1';
42
 
43
  $plugin_name = 'Flexible Shipping';
44
  $product_id = 'Flexible Shipping';
3
  * Plugin Name: Flexible Shipping
4
  * Plugin URI: https://wordpress.org/plugins/flexible-shipping/
5
  * Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
6
+ * Version: 4.0.2
7
  * Author: WP Desk
8
  * Author URI: https://flexibleshipping.com/?utm_source=plugin-list&utm_medium=link&utm_campaign=flexible-shipping-plugin-list
9
  * Text Domain: flexible-shipping
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
+ $plugin_version = '4.0.2';
42
 
43
  $plugin_name = 'Flexible Shipping';
44
  $product_id = 'Flexible Shipping';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://flexibleshipping.com/table-rate/
4
  Tags: table rate, table rate shipping, conditional shipping, shipping method, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes, shipping, free shipping, advanced shipping
5
  Requires at least: 4.5
6
  Tested up to: 5.6
7
- Stable tag: 4.0.1
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -163,11 +163,16 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
163
 
164
  == Changelog ==
165
 
 
 
 
166
  = 4.0.1 - 2020-12-16 =
167
  * Updated compatibility library
168
 
169
- = 4.0.0 - 2020-12-15 =
170
- * New rules table design and functionality
 
 
171
 
172
  = 3.16.5 - 2020-12-07 =
173
  * Added support for WordPress 5.6
4
  Tags: table rate, table rate shipping, conditional shipping, shipping method, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes, shipping, free shipping, advanced shipping
5
  Requires at least: 4.5
6
  Tested up to: 5.6
7
+ Stable tag: 4.0.2
8
  Requires PHP: 7.0
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
163
 
164
  == Changelog ==
165
 
166
+ = 4.0.2 - 2020-12-17 =
167
+ * Fixed conflict with "WC - APG Free Shipping" plugin
168
+
169
  = 4.0.1 - 2020-12-16 =
170
  * Updated compatibility library
171
 
172
+ = 4.0.0 2020-12-15
173
+ * Major Update!
174
+ * Added new shipping cost calculation rules' table interface
175
+ * Dropped support and backward compatibility for Flexible Shipping PRO 1.13.3 and Flexible Shipping Locations 1.2.2.
176
 
177
  = 3.16.5 - 2020-12-07 =
178
  * Added support for WordPress 5.6
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderIniteb78cc20a8df65696b6f0a1ba1cad44e::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701', '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\ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInitb0b1fc3c6dcfb64b49cb27396f086701
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequireb0b1fc3c6dcfb64b49cb27396f086701($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequireb0b1fc3c6dcfb64b49cb27396f086701($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 ComposerAutoloaderIniteb78cc20a8df65696b6f0a1ba1cad44e
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderIniteb78cc20a8df65696b6f0a1ba1cad44e', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderIniteb78cc20a8df65696b6f0a1ba1cad44e', '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\ComposerStaticIniteb78cc20a8df65696b6f0a1ba1cad44e::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\ComposerStaticIniteb78cc20a8df65696b6f0a1ba1cad44e::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequireeb78cc20a8df65696b6f0a1ba1cad44e($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequireeb78cc20a8df65696b6f0a1ba1cad44e($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
@@ -596,10 +596,10 @@ class ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701
596
  public static function getInitializer(ClassLoader $loader)
597
  {
598
  return \Closure::bind(function () use ($loader) {
599
- $loader->prefixLengthsPsr4 = ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$prefixLengthsPsr4;
600
- $loader->prefixDirsPsr4 = ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$prefixDirsPsr4;
601
- $loader->fallbackDirsPsr4 = ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$fallbackDirsPsr4;
602
- $loader->classMap = ComposerStaticInitb0b1fc3c6dcfb64b49cb27396f086701::$classMap;
603
 
604
  }, null, ClassLoader::class);
605
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticIniteb78cc20a8df65696b6f0a1ba1cad44e
8
  {
9
  public static $files = array (
10
  '0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
596
  public static function getInitializer(ClassLoader $loader)
597
  {
598
  return \Closure::bind(function () use ($loader) {
599
+ $loader->prefixLengthsPsr4 = ComposerStaticIniteb78cc20a8df65696b6f0a1ba1cad44e::$prefixLengthsPsr4;
600
+ $loader->prefixDirsPsr4 = ComposerStaticIniteb78cc20a8df65696b6f0a1ba1cad44e::$prefixDirsPsr4;
601
+ $loader->fallbackDirsPsr4 = ComposerStaticIniteb78cc20a8df65696b6f0a1ba1cad44e::$fallbackDirsPsr4;
602
+ $loader->classMap = ComposerStaticIniteb78cc20a8df65696b6f0a1ba1cad44e::$classMap;
603
 
604
  }, null, ClassLoader::class);
605
  }