Version Description
- 2021-02-11 =
- Added support for WooCommerce 5.0
Download this release
Release Info
Developer | wpdesk |
Plugin | Flexible Shipping for WooCommerce |
Version | 4.0.10 |
Comparing to | |
See all releases |
Code changes from version 4.0.9 to 4.0.10
- README.md +0 -6
- flexible-shipping.php +4 -4
- readme.txt +7 -4
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +5 -5
- webpack.mix.js +0 -24
README.md
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
[![pipeline status](https://gitlab.com/wpdesk/flexible-shipping/badges/master/pipeline.svg)](https://gitlab.com/wpdesk/flexible-shipping/commits/master)
|
2 |
-
Integration: [![coverage report](https://gitlab.com/wpdesk/flexible-shipping/badges/master/coverage.svg?job=integration+test+lastest+coverage)](https://gitlab.com/wpdesk/flexible-shipping/commits/master)
|
3 |
-
Unit [![coverage report](https://gitlab.com/wpdesk/flexible-shipping/badges/master/coverage.svg?job=unit+test+lastest+coverage)](https://gitlab.com/wpdesk/flexible-shipping/commits/master)
|
4 |
-
|
5 |
-
Flexible Shipping Plugin
|
6 |
-
========================
|
|
|
|
|
|
|
|
|
|
|
|
flexible-shipping.php
CHANGED
@@ -3,15 +3,15 @@
|
|
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.
|
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
|
10 |
* Domain Path: /lang/
|
11 |
* Requires at least: 4.9
|
12 |
* Tested up to: 5.6
|
13 |
-
* WC requires at least: 4.
|
14 |
-
* WC tested up to:
|
15 |
* Requires PHP: 7.0
|
16 |
*
|
17 |
* Copyright 2017 WP Desk Ltd.
|
@@ -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.
|
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.10
|
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
|
10 |
* Domain Path: /lang/
|
11 |
* Requires at least: 4.9
|
12 |
* Tested up to: 5.6
|
13 |
+
* WC requires at least: 4.6
|
14 |
+
* WC tested up to: 5.1
|
15 |
* Requires PHP: 7.0
|
16 |
*
|
17 |
* Copyright 2017 WP Desk Ltd.
|
38 |
} // Exit if accessed directly
|
39 |
|
40 |
/* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
|
41 |
+
$plugin_version = '4.0.10';
|
42 |
|
43 |
$plugin_name = 'Flexible Shipping';
|
44 |
$product_id = 'Flexible Shipping';
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Table Rate for WooCommerce by Flexible Shipping ===
|
2 |
-
Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko,mateuszgbiorczyk
|
3 |
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.
|
8 |
Requires PHP: 7.0
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -46,7 +46,7 @@ These are only a few examples of the Flexible Shipping usage, however, its possi
|
|
46 |
* Further shipping companies integrations (see the info below for details)
|
47 |
* Compatible with WooCommerce 2.6 Shipping Zones (see the info below for details)
|
48 |
* WPML and Polylang compatibility
|
49 |
-
* CSV Import
|
50 |
|
51 |
= PRO Features =
|
52 |
|
@@ -62,7 +62,7 @@ These are only a few examples of the Flexible Shipping usage, however, its possi
|
|
62 |
* Additional calculation methods (sum, lowest cost, highest cost)
|
63 |
* Maximum shipping cost per shipping method
|
64 |
* Free shipping coupons support
|
65 |
-
*
|
66 |
|
67 |
[Upgrade to PRO Now →](https://flexibleshipping.com/products/flexible-shipping-pro-woocommerce/?utm_source=wordpress&utm_medium=link&utm_campaign=wordpress)
|
68 |
|
@@ -166,6 +166,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
|
|
166 |
|
167 |
== Changelog ==
|
168 |
|
|
|
|
|
|
|
169 |
= 4.0.9 - 2021-02-03 =
|
170 |
* Fixed debug input data for None rule
|
171 |
* Added support for RTL in Table Rate interface
|
1 |
=== Table Rate for WooCommerce by Flexible Shipping ===
|
2 |
+
Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko,mateuszgbiorczyk,sebastianpisula
|
3 |
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.10
|
8 |
Requires PHP: 7.0
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
46 |
* Further shipping companies integrations (see the info below for details)
|
47 |
* Compatible with WooCommerce 2.6 Shipping Zones (see the info below for details)
|
48 |
* WPML and Polylang compatibility
|
49 |
+
* CSV & JSON Import
|
50 |
|
51 |
= PRO Features =
|
52 |
|
62 |
* Additional calculation methods (sum, lowest cost, highest cost)
|
63 |
* Maximum shipping cost per shipping method
|
64 |
* Free shipping coupons support
|
65 |
+
* JSON Export
|
66 |
|
67 |
[Upgrade to PRO Now →](https://flexibleshipping.com/products/flexible-shipping-pro-woocommerce/?utm_source=wordpress&utm_medium=link&utm_campaign=wordpress)
|
68 |
|
166 |
|
167 |
== Changelog ==
|
168 |
|
169 |
+
= 4.0.10 - 2021-02-11 =
|
170 |
+
* Added support for WooCommerce 5.0
|
171 |
+
|
172 |
= 4.0.9 - 2021-02-03 =
|
173 |
* Fixed debug input data for None rule
|
174 |
* Added support for RTL in Table Rate interface
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit0b82a647477bb5a95fca15d86681e07c::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit82906ae01553d7cabb6e07b21b9860d4
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
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\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit82906ae01553d7cabb6e07b21b9860d4
|
|
48 |
$loader->register(true);
|
49 |
|
50 |
if ($useStaticLoader) {
|
51 |
-
$includeFiles = Composer\Autoload\
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
-
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
-
function
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
66 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit0b82a647477bb5a95fca15d86681e07c
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit0b82a647477bb5a95fca15d86681e07c', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit0b82a647477bb5a95fca15d86681e07c', '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\ComposerStaticInit0b82a647477bb5a95fca15d86681e07c::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\ComposerStaticInit0b82a647477bb5a95fca15d86681e07c::$files;
|
52 |
} else {
|
53 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequire0b82a647477bb5a95fca15d86681e07c($fileIdentifier, $file);
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
function composerRequire0b82a647477bb5a95fca15d86681e07c($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
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'0509b34a4bd7aebefeac629c9dc8a978' => __DIR__ . '/..' . '/wpdesk/wp-notice/src/WPDesk/notice-functions.php',
|
@@ -596,10 +596,10 @@ class ComposerStaticInit82906ae01553d7cabb6e07b21b9860d4
|
|
596 |
public static function getInitializer(ClassLoader $loader)
|
597 |
{
|
598 |
return \Closure::bind(function () use ($loader) {
|
599 |
-
$loader->prefixLengthsPsr4 =
|
600 |
-
$loader->prefixDirsPsr4 =
|
601 |
-
$loader->fallbackDirsPsr4 =
|
602 |
-
$loader->classMap =
|
603 |
|
604 |
}, null, ClassLoader::class);
|
605 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit0b82a647477bb5a95fca15d86681e07c
|
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 = ComposerStaticInit0b82a647477bb5a95fca15d86681e07c::$prefixLengthsPsr4;
|
600 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit0b82a647477bb5a95fca15d86681e07c::$prefixDirsPsr4;
|
601 |
+
$loader->fallbackDirsPsr4 = ComposerStaticInit0b82a647477bb5a95fca15d86681e07c::$fallbackDirsPsr4;
|
602 |
+
$loader->classMap = ComposerStaticInit0b82a647477bb5a95fca15d86681e07c::$classMap;
|
603 |
|
604 |
}, null, ClassLoader::class);
|
605 |
}
|
webpack.mix.js
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
/* ---
|
2 |
-
Docs: https://www.npmjs.com/package/mati-mix/
|
3 |
-
--- */
|
4 |
-
const mix = require('mati-mix');
|
5 |
-
|
6 |
-
mix.js([
|
7 |
-
'assets-src/rules-settings/js/index.jsx',
|
8 |
-
], 'assets/js/rules-settings.js');
|
9 |
-
mix.sass(
|
10 |
-
'assets-src/rules-settings/scss/style.scss'
|
11 |
-
, 'assets/css/rules-settings.css');
|
12 |
-
|
13 |
-
//Onboarding
|
14 |
-
mix.js( ['assets-src/onboarding/js/index.jsx',], 'assets/js/onboarding.js' );
|
15 |
-
mix.sass( 'assets-src/onboarding/scss/style.scss', 'assets/css/onboarding.css' );
|
16 |
-
|
17 |
-
mix.mix.babelConfig({
|
18 |
-
"presets": [
|
19 |
-
"@babel/preset-env",
|
20 |
-
"@babel/preset-react",
|
21 |
-
],
|
22 |
-
"plugins": ["@babel/plugin-proposal-class-properties"]
|
23 |
-
});
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|