Flexible Shipping for WooCommerce - Version 3.9.21

Version Description

  • 2020-06-23 =
  • Fixed Aelia Currency Switcher integration
Download this release

Release Info

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

Code changes from version 3.9.20 to 3.9.21

classes/table-rate/multicurrency.php CHANGED
@@ -1,127 +1,129 @@
1
  <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) {
4
- exit;
5
- } // Exit if accessed directly
 
6
 
7
  use FSVendor\WPDesk\WooCommerce\CurrencySwitchers\Switcher\WooCommerceMultiCurrency;
8
 
9
- if ( ! class_exists( 'WPDesk_Flexible_Shipping_Multicurrency' ) ) {
10
-
11
- class WPDesk_Flexible_Shipping_Multicurrency {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
- /**
14
- * @var Flexible_Shipping_Plugin
15
- */
16
- private $plugin;
 
17
 
18
- /**
19
- * WPDesk_Flexible_Shipping_Export constructor.
20
- *
21
- * @param Flexible_Shipping_Plugin $plugin
22
- */
23
- public function __construct( Flexible_Shipping_Plugin $plugin ) {
24
- $this->plugin = $plugin;
25
- $this->hooks();
26
  }
27
 
28
- /**
29
- * @TODO move this functionality to wpdesk/wc-currency-switchers-integrations library.
30
- */
31
- private function hooks() {
32
- add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_wpml' ), 1 );
33
-
34
- if ( class_exists( 'WC_Aelia_CurrencySwitcher' ) ) {
35
- add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_aelia' ), 1 );
36
- }
37
-
38
- if ( class_exists( 'Aelia\WC\CurrencySwitcher\WC_Aelia_CurrencySwitcher' ) ) {
39
- add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_aelia_namespaces' ), 1 );
40
- }
41
-
42
- if ( function_exists( 'wmcs_convert_price' ) ) {
43
- add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_wmcs' ), 1 );
44
- }
45
-
46
- if ( isset( $GLOBALS['WOOCS'] ) ) {
47
- add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_woocs' ), 1 );
48
- }
49
-
50
- if ( class_exists( '\WOOMC\Price\Controller' ) ) {
51
- add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_woomc' ), 1 );
52
- }
53
  }
54
 
55
- /**
56
- * @param float $value
57
- *
58
- * @return float
59
- */
60
- public function flexible_shipping_value_in_currency_aelia( $value ) {
61
- $aelia = WC_Aelia_CurrencySwitcher::instance();
62
- $aelia_settings = WC_Aelia_CurrencySwitcher::settings();
63
- $from_currency = $aelia_settings->base_currency();
64
- $to_currency = $aelia->get_selected_currency();
65
- $value = $aelia->convert( $value, $from_currency, $to_currency );
66
- return $value;
67
  }
68
 
69
- /**
70
- * @param float $value
71
- *
72
- * @return float
73
- */
74
- public function flexible_shipping_value_in_currency_aelia_namespaces( $value ) {
75
- $aelia = Aelia\WC\CurrencySwitcher\WC_Aelia_CurrencySwitcher::instance();
76
- $aelia_settings = Aelia\WC\CurrencySwitcher\WC_Aelia_CurrencySwitcher::settings();
77
- $from_currency = $aelia_settings->base_currency();
78
- $to_currency = $aelia->get_selected_currency();
79
- $value = $aelia->convert( $value, $from_currency, $to_currency );
80
- return $value;
81
  }
 
82
 
83
- /**
84
- * @param float $value
85
- *
86
- * @return float
87
- */
88
- public function flexible_shipping_value_in_currency_wmcs( $value ) {
89
- $value = wmcs_convert_price( $value );
90
- return $value;
91
- }
 
 
 
 
 
92
 
93
- /**
94
- * @param float $value
95
- *
96
- * @return float
97
- */
98
- public function flexible_shipping_value_in_currency_wpml( $value ) {
99
- return apply_filters( 'wcml_raw_price_amount', $value );
100
- }
 
 
 
 
 
 
101
 
102
- /**
103
- * @param float $value
104
- *
105
- * @return float
106
- */
107
- public function flexible_shipping_value_in_currency_woocs( $value ) {
108
- return $GLOBALS['WOOCS']->woocs_exchange_value( $value );
109
- }
110
 
111
- /**
112
- * Convert value using WooCommerce Multicurrency switcher.
113
- *
114
- * @see https://woocommerce.com/products/multi-currency/
115
- *
116
- * @param float $value .
117
- *
118
- * @return float
119
- */
120
- public function flexible_shipping_value_in_currency_woomc( $value ) {
121
- $converter = new WooCommerceMultiCurrency\Converter();
122
- return $converter->convert( $value );
123
- }
 
 
 
 
 
 
 
124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
  }
126
 
127
- }
1
  <?php
2
+ /**
3
+ * Multicurrency plugins integrations.
4
+ *
5
+ * @package Flexible Shipping
6
+ */
7
 
8
  use FSVendor\WPDesk\WooCommerce\CurrencySwitchers\Switcher\WooCommerceMultiCurrency;
9
 
10
+ /**
11
+ * Can integrate Flexible Shipping with multicurrency plugins.
12
+ */
13
+ class WPDesk_Flexible_Shipping_Multicurrency {
14
+
15
+ /**
16
+ * @var Flexible_Shipping_Plugin
17
+ */
18
+ private $plugin;
19
+
20
+ /**
21
+ * WPDesk_Flexible_Shipping_Export constructor.
22
+ *
23
+ * @param Flexible_Shipping_Plugin $plugin .
24
+ */
25
+ public function __construct( Flexible_Shipping_Plugin $plugin ) {
26
+ $this->plugin = $plugin;
27
+ $this->hooks();
28
+ }
29
 
30
+ /**
31
+ * @TODO move this functionality to wpdesk/wc-currency-switchers-integrations library.
32
+ */
33
+ private function hooks() {
34
+ add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_wpml' ), 1 );
35
 
36
+ if ( class_exists( 'Aelia\WC\CurrencySwitcher\WC_Aelia_CurrencySwitcher' ) ) {
37
+ add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_aelia_namespaces' ), 0 );
38
+ } elseif ( class_exists( 'WC_Aelia_CurrencySwitcher' ) ) {
39
+ add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_aelia' ), 1 );
 
 
 
 
40
  }
41
 
42
+ if ( function_exists( 'wmcs_convert_price' ) ) {
43
+ add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_wmcs' ), 1 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  }
45
 
46
+ if ( isset( $GLOBALS['WOOCS'] ) ) {
47
+ add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_woocs' ), 1 );
 
 
 
 
 
 
 
 
 
 
48
  }
49
 
50
+ if ( class_exists( '\WOOMC\Price\Controller' ) ) {
51
+ add_filter( 'flexible_shipping_value_in_currency', array( $this, 'flexible_shipping_value_in_currency_woomc' ), 1 );
 
 
 
 
 
 
 
 
 
 
52
  }
53
+ }
54
 
55
+ /**
56
+ * @param float $value .
57
+ *
58
+ * @return float
59
+ */
60
+ public function flexible_shipping_value_in_currency_aelia( $value ) {
61
+ $aelia = WC_Aelia_CurrencySwitcher::instance();
62
+ $aelia_settings = WC_Aelia_CurrencySwitcher::settings();
63
+ $from_currency = $aelia_settings->base_currency();
64
+ $to_currency = $aelia->get_selected_currency();
65
+ $value = $aelia->convert( $value, $from_currency, $to_currency );
66
+
67
+ return $value;
68
+ }
69
 
70
+ /**
71
+ * @param float $value .
72
+ *
73
+ * @return float
74
+ */
75
+ public function flexible_shipping_value_in_currency_aelia_namespaces( $value ) {
76
+ $aelia = Aelia\WC\CurrencySwitcher\WC_Aelia_CurrencySwitcher::instance();
77
+ $aelia_settings = Aelia\WC\CurrencySwitcher\WC_Aelia_CurrencySwitcher::settings();
78
+ $from_currency = $aelia_settings->base_currency();
79
+ $to_currency = $aelia->get_selected_currency();
80
+ $value = $aelia->convert( $value, $from_currency, $to_currency );
81
+
82
+ return $value;
83
+ }
84
 
85
+ /**
86
+ * @param float $value .
87
+ *
88
+ * @return float
89
+ */
90
+ public function flexible_shipping_value_in_currency_wmcs( $value ) {
91
+ $value = wmcs_convert_price( $value );
 
92
 
93
+ return $value;
94
+ }
95
+
96
+ /**
97
+ * @param float $value .
98
+ *
99
+ * @return float
100
+ */
101
+ public function flexible_shipping_value_in_currency_wpml( $value ) {
102
+ return apply_filters( 'wcml_raw_price_amount', $value );
103
+ }
104
+
105
+ /**
106
+ * @param float $value .
107
+ *
108
+ * @return float
109
+ */
110
+ public function flexible_shipping_value_in_currency_woocs( $value ) {
111
+ return $GLOBALS['WOOCS']->woocs_exchange_value( $value );
112
+ }
113
 
114
+ /**
115
+ * Convert value using WooCommerce Multicurrency switcher.
116
+ *
117
+ * @see https://woocommerce.com/products/multi-currency/
118
+ *
119
+ * @param float $value .
120
+ *
121
+ * @return float
122
+ */
123
+ public function flexible_shipping_value_in_currency_woomc( $value ) {
124
+ $converter = new WooCommerceMultiCurrency\Converter();
125
+
126
+ return $converter->convert( $value );
127
  }
128
 
129
+ }
composer.lock CHANGED
@@ -4,7 +4,7 @@
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
- "content-hash": "4ea66ebc39d866b17b973f0568340f05",
8
  "packages": [
9
  {
10
  "name": "psr/log",
@@ -234,16 +234,16 @@
234
  },
235
  {
236
  "name": "codeception/codeception",
237
- "version": "4.1.5",
238
  "source": {
239
  "type": "git",
240
  "url": "https://github.com/Codeception/Codeception.git",
241
- "reference": "24f2345329b1059f1208f65581fc632a4a6e5a55"
242
  },
243
  "dist": {
244
  "type": "zip",
245
- "url": "https://api.github.com/repos/Codeception/Codeception/zipball/24f2345329b1059f1208f65581fc632a4a6e5a55",
246
- "reference": "24f2345329b1059f1208f65581fc632a4a6e5a55",
247
  "shasum": ""
248
  },
249
  "require": {
@@ -315,7 +315,7 @@
315
  "functional testing",
316
  "unit testing"
317
  ],
318
- "time": "2020-05-24T13:58:47+00:00"
319
  },
320
  {
321
  "name": "codeception/lib-asserts",
@@ -942,16 +942,16 @@
942
  },
943
  {
944
  "name": "composer/composer",
945
- "version": "1.10.6",
946
  "source": {
947
  "type": "git",
948
  "url": "https://github.com/composer/composer.git",
949
- "reference": "be81b9c4735362c26876bdbfd3b5bc7e7f711c88"
950
  },
951
  "dist": {
952
  "type": "zip",
953
- "url": "https://api.github.com/repos/composer/composer/zipball/be81b9c4735362c26876bdbfd3b5bc7e7f711c88",
954
- "reference": "be81b9c4735362c26876bdbfd3b5bc7e7f711c88",
955
  "shasum": ""
956
  },
957
  "require": {
@@ -959,7 +959,7 @@
959
  "composer/semver": "^1.0",
960
  "composer/spdx-licenses": "^1.2",
961
  "composer/xdebug-handler": "^1.1",
962
- "justinrainbow/json-schema": "^3.0 || ^4.0 || ^5.0",
963
  "php": "^5.3.2 || ^7.0",
964
  "psr/log": "^1.0",
965
  "seld/jsonlint": "^1.4",
@@ -1019,7 +1019,7 @@
1019
  "dependency",
1020
  "package"
1021
  ],
1022
- "time": "2020-05-06T08:28:10+00:00"
1023
  },
1024
  {
1025
  "name": "composer/semver",
@@ -1144,16 +1144,16 @@
1144
  },
1145
  {
1146
  "name": "composer/xdebug-handler",
1147
- "version": "1.4.1",
1148
  "source": {
1149
  "type": "git",
1150
  "url": "https://github.com/composer/xdebug-handler.git",
1151
- "reference": "1ab9842d69e64fb3a01be6b656501032d1b78cb7"
1152
  },
1153
  "dist": {
1154
  "type": "zip",
1155
- "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/1ab9842d69e64fb3a01be6b656501032d1b78cb7",
1156
- "reference": "1ab9842d69e64fb3a01be6b656501032d1b78cb7",
1157
  "shasum": ""
1158
  },
1159
  "require": {
@@ -1184,7 +1184,7 @@
1184
  "Xdebug",
1185
  "performance"
1186
  ],
1187
- "time": "2020-03-01T12:26:26+00:00"
1188
  },
1189
  {
1190
  "name": "cweagans/composer-patches",
@@ -1623,16 +1623,16 @@
1623
  },
1624
  {
1625
  "name": "guzzlehttp/guzzle",
1626
- "version": "6.5.4",
1627
  "source": {
1628
  "type": "git",
1629
  "url": "https://github.com/guzzle/guzzle.git",
1630
- "reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d"
1631
  },
1632
  "dist": {
1633
  "type": "zip",
1634
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
1635
- "reference": "a4a1b6930528a8f7ee03518e6442ec7a44155d9d",
1636
  "shasum": ""
1637
  },
1638
  "require": {
@@ -1640,7 +1640,7 @@
1640
  "guzzlehttp/promises": "^1.0",
1641
  "guzzlehttp/psr7": "^1.6.1",
1642
  "php": ">=5.5",
1643
- "symfony/polyfill-intl-idn": "1.17.0"
1644
  },
1645
  "require-dev": {
1646
  "ext-curl": "*",
@@ -1686,7 +1686,7 @@
1686
  "rest",
1687
  "web service"
1688
  ],
1689
- "time": "2020-05-25T19:35:05+00:00"
1690
  },
1691
  {
1692
  "name": "guzzlehttp/promises",
@@ -2068,16 +2068,16 @@
2068
  },
2069
  {
2070
  "name": "lucatume/wp-browser",
2071
- "version": "2.5.5",
2072
  "source": {
2073
  "type": "git",
2074
  "url": "https://github.com/lucatume/wp-browser.git",
2075
- "reference": "be017ac5457617d6d9e599b4d8a6496dee65b8f0"
2076
  },
2077
  "dist": {
2078
  "type": "zip",
2079
- "url": "https://api.github.com/repos/lucatume/wp-browser/zipball/be017ac5457617d6d9e599b4d8a6496dee65b8f0",
2080
- "reference": "be017ac5457617d6d9e599b4d8a6496dee65b8f0",
2081
  "shasum": ""
2082
  },
2083
  "require": {
@@ -2147,7 +2147,7 @@
2147
  "codeception",
2148
  "wordpress"
2149
  ],
2150
- "time": "2020-05-25T07:47:49+00:00"
2151
  },
2152
  {
2153
  "name": "matthiasmullie/minify",
@@ -3042,16 +3042,16 @@
3042
  },
3043
  {
3044
  "name": "phpoption/phpoption",
3045
- "version": "1.7.3",
3046
  "source": {
3047
  "type": "git",
3048
  "url": "https://github.com/schmittjoh/php-option.git",
3049
- "reference": "4acfd6a4b33a509d8c88f50e5222f734b6aeebae"
3050
  },
3051
  "dist": {
3052
  "type": "zip",
3053
- "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/4acfd6a4b33a509d8c88f50e5222f734b6aeebae",
3054
- "reference": "4acfd6a4b33a509d8c88f50e5222f734b6aeebae",
3055
  "shasum": ""
3056
  },
3057
  "require": {
@@ -3093,7 +3093,7 @@
3093
  "php",
3094
  "type"
3095
  ],
3096
- "time": "2020-03-21T18:07:53+00:00"
3097
  },
3098
  {
3099
  "name": "phpspec/prophecy",
@@ -4396,7 +4396,7 @@
4396
  },
4397
  {
4398
  "name": "symfony/browser-kit",
4399
- "version": "v3.4.41",
4400
  "source": {
4401
  "type": "git",
4402
  "url": "https://github.com/symfony/browser-kit.git",
@@ -4453,7 +4453,7 @@
4453
  },
4454
  {
4455
  "name": "symfony/console",
4456
- "version": "v3.4.41",
4457
  "source": {
4458
  "type": "git",
4459
  "url": "https://github.com/symfony/console.git",
@@ -4525,7 +4525,7 @@
4525
  },
4526
  {
4527
  "name": "symfony/css-selector",
4528
- "version": "v3.4.41",
4529
  "source": {
4530
  "type": "git",
4531
  "url": "https://github.com/symfony/css-selector.git",
@@ -4578,7 +4578,7 @@
4578
  },
4579
  {
4580
  "name": "symfony/debug",
4581
- "version": "v3.4.41",
4582
  "source": {
4583
  "type": "git",
4584
  "url": "https://github.com/symfony/debug.git",
@@ -4634,7 +4634,7 @@
4634
  },
4635
  {
4636
  "name": "symfony/dom-crawler",
4637
- "version": "v3.4.41",
4638
  "source": {
4639
  "type": "git",
4640
  "url": "https://github.com/symfony/dom-crawler.git",
@@ -4691,7 +4691,7 @@
4691
  },
4692
  {
4693
  "name": "symfony/event-dispatcher",
4694
- "version": "v3.4.41",
4695
  "source": {
4696
  "type": "git",
4697
  "url": "https://github.com/symfony/event-dispatcher.git",
@@ -4754,7 +4754,7 @@
4754
  },
4755
  {
4756
  "name": "symfony/filesystem",
4757
- "version": "v3.4.41",
4758
  "source": {
4759
  "type": "git",
4760
  "url": "https://github.com/symfony/filesystem.git",
@@ -4804,7 +4804,7 @@
4804
  },
4805
  {
4806
  "name": "symfony/finder",
4807
- "version": "v3.4.41",
4808
  "source": {
4809
  "type": "git",
4810
  "url": "https://github.com/symfony/finder.git",
@@ -5087,7 +5087,7 @@
5087
  },
5088
  {
5089
  "name": "symfony/process",
5090
- "version": "v3.4.41",
5091
  "source": {
5092
  "type": "git",
5093
  "url": "https://github.com/symfony/process.git",
@@ -5136,7 +5136,7 @@
5136
  },
5137
  {
5138
  "name": "symfony/yaml",
5139
- "version": "v3.4.41",
5140
  "source": {
5141
  "type": "git",
5142
  "url": "https://github.com/symfony/yaml.git",
@@ -5195,28 +5195,28 @@
5195
  },
5196
  {
5197
  "name": "vlucas/phpdotenv",
5198
- "version": "v4.1.6",
5199
  "source": {
5200
  "type": "git",
5201
  "url": "https://github.com/vlucas/phpdotenv.git",
5202
- "reference": "0b32505d67c1abbfa829283c86bfc0642a661bf6"
5203
  },
5204
  "dist": {
5205
  "type": "zip",
5206
- "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/0b32505d67c1abbfa829283c86bfc0642a661bf6",
5207
- "reference": "0b32505d67c1abbfa829283c86bfc0642a661bf6",
5208
  "shasum": ""
5209
  },
5210
  "require": {
5211
  "php": "^5.5.9 || ^7.0 || ^8.0",
5212
- "phpoption/phpoption": "^1.7.2",
5213
- "symfony/polyfill-ctype": "^1.9"
5214
  },
5215
  "require-dev": {
5216
- "bamarni/composer-bin-plugin": "^1.3",
5217
  "ext-filter": "*",
5218
  "ext-pcre": "*",
5219
- "phpunit/phpunit": "^4.8.35 || ^5.0 || ^6.0 || ^7.0"
5220
  },
5221
  "suggest": {
5222
  "ext-filter": "Required to use the boolean validator.",
@@ -5255,7 +5255,7 @@
5255
  "env",
5256
  "environment"
5257
  ],
5258
- "time": "2020-05-23T09:43:32+00:00"
5259
  },
5260
  {
5261
  "name": "vria/nodiacritic",
@@ -5307,16 +5307,16 @@
5307
  },
5308
  {
5309
  "name": "webmozart/assert",
5310
- "version": "1.8.0",
5311
  "source": {
5312
  "type": "git",
5313
  "url": "https://github.com/webmozart/assert.git",
5314
- "reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6"
5315
  },
5316
  "dist": {
5317
  "type": "zip",
5318
- "url": "https://api.github.com/repos/webmozart/assert/zipball/ab2cb0b3b559010b75981b1bdce728da3ee90ad6",
5319
- "reference": "ab2cb0b3b559010b75981b1bdce728da3ee90ad6",
5320
  "shasum": ""
5321
  },
5322
  "require": {
@@ -5324,6 +5324,7 @@
5324
  "symfony/polyfill-ctype": "^1.8"
5325
  },
5326
  "conflict": {
 
5327
  "vimeo/psalm": "<3.9.1"
5328
  },
5329
  "require-dev": {
@@ -5351,7 +5352,7 @@
5351
  "check",
5352
  "validate"
5353
  ],
5354
- "time": "2020-04-18T12:12:48+00:00"
5355
  },
5356
  {
5357
  "name": "wp-cli/cache-command",
@@ -6221,16 +6222,16 @@
6221
  },
6222
  {
6223
  "name": "wp-cli/i18n-command",
6224
- "version": "v2.2.2",
6225
  "source": {
6226
  "type": "git",
6227
  "url": "https://github.com/wp-cli/i18n-command.git",
6228
- "reference": "2804c5246d9338da59951737b03c54d257be8e47"
6229
  },
6230
  "dist": {
6231
  "type": "zip",
6232
- "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/2804c5246d9338da59951737b03c54d257be8e47",
6233
- "reference": "2804c5246d9338da59951737b03c54d257be8e47",
6234
  "shasum": ""
6235
  },
6236
  "require": {
@@ -6274,7 +6275,7 @@
6274
  ],
6275
  "description": "Provides internationalization tools for WordPress projects.",
6276
  "homepage": "https://github.com/wp-cli/i18n-command",
6277
- "time": "2019-12-13T09:00:43+00:00"
6278
  },
6279
  {
6280
  "name": "wp-cli/import-command",
@@ -7152,18 +7153,18 @@
7152
  "source": {
7153
  "type": "git",
7154
  "url": "https://github.com/wp-cli/wp-cli.git",
7155
- "reference": "eef7ce7703782f1687c9209fcc43aa44aa7de98a"
7156
  },
7157
  "dist": {
7158
  "type": "zip",
7159
- "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/eef7ce7703782f1687c9209fcc43aa44aa7de98a",
7160
- "reference": "eef7ce7703782f1687c9209fcc43aa44aa7de98a",
7161
  "shasum": ""
7162
  },
7163
  "require": {
7164
  "ext-curl": "*",
7165
  "mustache/mustache": "~2.13",
7166
- "php": "^5.4 || ^7.0",
7167
  "rmccue/requests": "~1.6",
7168
  "symfony/finder": ">2.7",
7169
  "wp-cli/mustangostang-spyc": "^0.6.3",
@@ -7193,8 +7194,12 @@
7193
  },
7194
  "autoload": {
7195
  "psr-0": {
7196
- "WP_CLI": "php"
7197
- }
 
 
 
 
7198
  },
7199
  "notification-url": "https://packagist.org/downloads/",
7200
  "license": [
@@ -7206,7 +7211,7 @@
7206
  "cli",
7207
  "wordpress"
7208
  ],
7209
- "time": "2020-05-26T08:59:05+00:00"
7210
  },
7211
  {
7212
  "name": "wp-cli/wp-cli-bundle",
@@ -7494,16 +7499,16 @@
7494
  },
7495
  {
7496
  "name": "wpdesk/wp-builder",
7497
- "version": "1.4.2",
7498
  "source": {
7499
  "type": "git",
7500
  "url": "https://gitlab.com/wpdesk/wp-builder.git",
7501
- "reference": "3f0109fdbc12d9798eebdfcbd85e82510e969af7"
7502
  },
7503
  "dist": {
7504
  "type": "zip",
7505
- "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-builder/repository/archive.zip?sha=3f0109fdbc12d9798eebdfcbd85e82510e969af7",
7506
- "reference": "3f0109fdbc12d9798eebdfcbd85e82510e969af7",
7507
  "shasum": ""
7508
  },
7509
  "require": {
@@ -7533,7 +7538,7 @@
7533
  "email": "krzysiek@wpdesk.pl"
7534
  }
7535
  ],
7536
- "time": "2020-05-15T11:41:09+00:00"
7537
  },
7538
  {
7539
  "name": "wpdesk/wp-code-sniffer",
@@ -8033,16 +8038,16 @@
8033
  },
8034
  {
8035
  "name": "wpdesk/wp-wpdesk-composer",
8036
- "version": "2.8.4",
8037
  "source": {
8038
  "type": "git",
8039
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-composer.git",
8040
- "reference": "5716db176cc8cd25d711cffe2d1a610ecf83a065"
8041
  },
8042
  "dist": {
8043
  "type": "zip",
8044
- "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-composer/repository/archive.zip?sha=5716db176cc8cd25d711cffe2d1a610ecf83a065",
8045
- "reference": "5716db176cc8cd25d711cffe2d1a610ecf83a065",
8046
  "shasum": ""
8047
  },
8048
  "require": {
@@ -8072,7 +8077,7 @@
8072
  "email": "krzysiek@wpdesk.pl"
8073
  }
8074
  ],
8075
- "time": "2020-05-07T12:32:21+00:00"
8076
  },
8077
  {
8078
  "name": "wpdesk/wp-wpdesk-helper",
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
+ "content-hash": "d32f5379484810b7dc4df96ecd48177c",
8
  "packages": [
9
  {
10
  "name": "psr/log",
234
  },
235
  {
236
  "name": "codeception/codeception",
237
+ "version": "4.1.6",
238
  "source": {
239
  "type": "git",
240
  "url": "https://github.com/Codeception/Codeception.git",
241
+ "reference": "5515b6a6c6f1e1c909aaff2e5f3a15c177dfd1a9"
242
  },
243
  "dist": {
244
  "type": "zip",
245
+ "url": "https://api.github.com/repos/Codeception/Codeception/zipball/5515b6a6c6f1e1c909aaff2e5f3a15c177dfd1a9",
246
+ "reference": "5515b6a6c6f1e1c909aaff2e5f3a15c177dfd1a9",
247
  "shasum": ""
248
  },
249
  "require": {
315
  "functional testing",
316
  "unit testing"
317
  ],
318
+ "time": "2020-06-07T16:31:51+00:00"
319
  },
320
  {
321
  "name": "codeception/lib-asserts",
942
  },
943
  {
944
  "name": "composer/composer",
945
+ "version": "1.10.7",
946
  "source": {
947
  "type": "git",
948
  "url": "https://github.com/composer/composer.git",
949
+ "reference": "956608ea4f7de9e58c53dfb019d85ae62b193c39"
950
  },
951
  "dist": {
952
  "type": "zip",
953
+ "url": "https://api.github.com/repos/composer/composer/zipball/956608ea4f7de9e58c53dfb019d85ae62b193c39",
954
+ "reference": "956608ea4f7de9e58c53dfb019d85ae62b193c39",
955
  "shasum": ""
956
  },
957
  "require": {
959
  "composer/semver": "^1.0",
960
  "composer/spdx-licenses": "^1.2",
961
  "composer/xdebug-handler": "^1.1",
962
+ "justinrainbow/json-schema": "^5.2.10",
963
  "php": "^5.3.2 || ^7.0",
964
  "psr/log": "^1.0",
965
  "seld/jsonlint": "^1.4",
1019
  "dependency",
1020
  "package"
1021
  ],
1022
+ "time": "2020-06-03T08:03:56+00:00"
1023
  },
1024
  {
1025
  "name": "composer/semver",
1144
  },
1145
  {
1146
  "name": "composer/xdebug-handler",
1147
+ "version": "1.4.2",
1148
  "source": {
1149
  "type": "git",
1150
  "url": "https://github.com/composer/xdebug-handler.git",
1151
+ "reference": "fa2aaf99e2087f013a14f7432c1cd2dd7d8f1f51"
1152
  },
1153
  "dist": {
1154
  "type": "zip",
1155
+ "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/fa2aaf99e2087f013a14f7432c1cd2dd7d8f1f51",
1156
+ "reference": "fa2aaf99e2087f013a14f7432c1cd2dd7d8f1f51",
1157
  "shasum": ""
1158
  },
1159
  "require": {
1184
  "Xdebug",
1185
  "performance"
1186
  ],
1187
+ "time": "2020-06-04T11:16:35+00:00"
1188
  },
1189
  {
1190
  "name": "cweagans/composer-patches",
1623
  },
1624
  {
1625
  "name": "guzzlehttp/guzzle",
1626
+ "version": "6.5.5",
1627
  "source": {
1628
  "type": "git",
1629
  "url": "https://github.com/guzzle/guzzle.git",
1630
+ "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e"
1631
  },
1632
  "dist": {
1633
  "type": "zip",
1634
+ "url": "https://api.github.com/repos/guzzle/guzzle/zipball/9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
1635
+ "reference": "9d4290de1cfd701f38099ef7e183b64b4b7b0c5e",
1636
  "shasum": ""
1637
  },
1638
  "require": {
1640
  "guzzlehttp/promises": "^1.0",
1641
  "guzzlehttp/psr7": "^1.6.1",
1642
  "php": ">=5.5",
1643
+ "symfony/polyfill-intl-idn": "^1.17.0"
1644
  },
1645
  "require-dev": {
1646
  "ext-curl": "*",
1686
  "rest",
1687
  "web service"
1688
  ],
1689
+ "time": "2020-06-16T21:01:06+00:00"
1690
  },
1691
  {
1692
  "name": "guzzlehttp/promises",
2068
  },
2069
  {
2070
  "name": "lucatume/wp-browser",
2071
+ "version": "2.6.2",
2072
  "source": {
2073
  "type": "git",
2074
  "url": "https://github.com/lucatume/wp-browser.git",
2075
+ "reference": "83fc32b65ba4720ba07c41109cc5d9348085d210"
2076
  },
2077
  "dist": {
2078
  "type": "zip",
2079
+ "url": "https://api.github.com/repos/lucatume/wp-browser/zipball/83fc32b65ba4720ba07c41109cc5d9348085d210",
2080
+ "reference": "83fc32b65ba4720ba07c41109cc5d9348085d210",
2081
  "shasum": ""
2082
  },
2083
  "require": {
2147
  "codeception",
2148
  "wordpress"
2149
  ],
2150
+ "time": "2020-06-19T08:46:27+00:00"
2151
  },
2152
  {
2153
  "name": "matthiasmullie/minify",
3042
  },
3043
  {
3044
  "name": "phpoption/phpoption",
3045
+ "version": "1.7.4",
3046
  "source": {
3047
  "type": "git",
3048
  "url": "https://github.com/schmittjoh/php-option.git",
3049
+ "reference": "b2ada2ad5d8a32b89088b8adc31ecd2e3a13baf3"
3050
  },
3051
  "dist": {
3052
  "type": "zip",
3053
+ "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/b2ada2ad5d8a32b89088b8adc31ecd2e3a13baf3",
3054
+ "reference": "b2ada2ad5d8a32b89088b8adc31ecd2e3a13baf3",
3055
  "shasum": ""
3056
  },
3057
  "require": {
3093
  "php",
3094
  "type"
3095
  ],
3096
+ "time": "2020-06-07T10:40:07+00:00"
3097
  },
3098
  {
3099
  "name": "phpspec/prophecy",
4396
  },
4397
  {
4398
  "name": "symfony/browser-kit",
4399
+ "version": "v3.4.42",
4400
  "source": {
4401
  "type": "git",
4402
  "url": "https://github.com/symfony/browser-kit.git",
4453
  },
4454
  {
4455
  "name": "symfony/console",
4456
+ "version": "v3.4.42",
4457
  "source": {
4458
  "type": "git",
4459
  "url": "https://github.com/symfony/console.git",
4525
  },
4526
  {
4527
  "name": "symfony/css-selector",
4528
+ "version": "v3.4.42",
4529
  "source": {
4530
  "type": "git",
4531
  "url": "https://github.com/symfony/css-selector.git",
4578
  },
4579
  {
4580
  "name": "symfony/debug",
4581
+ "version": "v3.4.42",
4582
  "source": {
4583
  "type": "git",
4584
  "url": "https://github.com/symfony/debug.git",
4634
  },
4635
  {
4636
  "name": "symfony/dom-crawler",
4637
+ "version": "v3.4.42",
4638
  "source": {
4639
  "type": "git",
4640
  "url": "https://github.com/symfony/dom-crawler.git",
4691
  },
4692
  {
4693
  "name": "symfony/event-dispatcher",
4694
+ "version": "v3.4.42",
4695
  "source": {
4696
  "type": "git",
4697
  "url": "https://github.com/symfony/event-dispatcher.git",
4754
  },
4755
  {
4756
  "name": "symfony/filesystem",
4757
+ "version": "v3.4.42",
4758
  "source": {
4759
  "type": "git",
4760
  "url": "https://github.com/symfony/filesystem.git",
4804
  },
4805
  {
4806
  "name": "symfony/finder",
4807
+ "version": "v3.4.42",
4808
  "source": {
4809
  "type": "git",
4810
  "url": "https://github.com/symfony/finder.git",
5087
  },
5088
  {
5089
  "name": "symfony/process",
5090
+ "version": "v3.4.42",
5091
  "source": {
5092
  "type": "git",
5093
  "url": "https://github.com/symfony/process.git",
5136
  },
5137
  {
5138
  "name": "symfony/yaml",
5139
+ "version": "v3.4.42",
5140
  "source": {
5141
  "type": "git",
5142
  "url": "https://github.com/symfony/yaml.git",
5195
  },
5196
  {
5197
  "name": "vlucas/phpdotenv",
5198
+ "version": "v4.1.7",
5199
  "source": {
5200
  "type": "git",
5201
  "url": "https://github.com/vlucas/phpdotenv.git",
5202
+ "reference": "db63b2ea280fdcf13c4ca392121b0b2450b51193"
5203
  },
5204
  "dist": {
5205
  "type": "zip",
5206
+ "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/db63b2ea280fdcf13c4ca392121b0b2450b51193",
5207
+ "reference": "db63b2ea280fdcf13c4ca392121b0b2450b51193",
5208
  "shasum": ""
5209
  },
5210
  "require": {
5211
  "php": "^5.5.9 || ^7.0 || ^8.0",
5212
+ "phpoption/phpoption": "^1.7.3",
5213
+ "symfony/polyfill-ctype": "^1.16"
5214
  },
5215
  "require-dev": {
5216
+ "bamarni/composer-bin-plugin": "^1.4.1",
5217
  "ext-filter": "*",
5218
  "ext-pcre": "*",
5219
+ "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0"
5220
  },
5221
  "suggest": {
5222
  "ext-filter": "Required to use the boolean validator.",
5255
  "env",
5256
  "environment"
5257
  ],
5258
+ "time": "2020-06-07T18:25:35+00:00"
5259
  },
5260
  {
5261
  "name": "vria/nodiacritic",
5307
  },
5308
  {
5309
  "name": "webmozart/assert",
5310
+ "version": "1.9.0",
5311
  "source": {
5312
  "type": "git",
5313
  "url": "https://github.com/webmozart/assert.git",
5314
+ "reference": "9dc4f203e36f2b486149058bade43c851dd97451"
5315
  },
5316
  "dist": {
5317
  "type": "zip",
5318
+ "url": "https://api.github.com/repos/webmozart/assert/zipball/9dc4f203e36f2b486149058bade43c851dd97451",
5319
+ "reference": "9dc4f203e36f2b486149058bade43c851dd97451",
5320
  "shasum": ""
5321
  },
5322
  "require": {
5324
  "symfony/polyfill-ctype": "^1.8"
5325
  },
5326
  "conflict": {
5327
+ "phpstan/phpstan": "<0.12.20",
5328
  "vimeo/psalm": "<3.9.1"
5329
  },
5330
  "require-dev": {
5352
  "check",
5353
  "validate"
5354
  ],
5355
+ "time": "2020-06-16T10:16:42+00:00"
5356
  },
5357
  {
5358
  "name": "wp-cli/cache-command",
6222
  },
6223
  {
6224
  "name": "wp-cli/i18n-command",
6225
+ "version": "v2.2.3",
6226
  "source": {
6227
  "type": "git",
6228
  "url": "https://github.com/wp-cli/i18n-command.git",
6229
+ "reference": "7a5d483d872dfec1b89d88d348666ecd59454d52"
6230
  },
6231
  "dist": {
6232
  "type": "zip",
6233
+ "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/7a5d483d872dfec1b89d88d348666ecd59454d52",
6234
+ "reference": "7a5d483d872dfec1b89d88d348666ecd59454d52",
6235
  "shasum": ""
6236
  },
6237
  "require": {
6275
  ],
6276
  "description": "Provides internationalization tools for WordPress projects.",
6277
  "homepage": "https://github.com/wp-cli/i18n-command",
6278
+ "time": "2020-06-04T07:07:10+00:00"
6279
  },
6280
  {
6281
  "name": "wp-cli/import-command",
7153
  "source": {
7154
  "type": "git",
7155
  "url": "https://github.com/wp-cli/wp-cli.git",
7156
+ "reference": "0ae9f0f0472351480e2f60b55b2c674173f82774"
7157
  },
7158
  "dist": {
7159
  "type": "zip",
7160
+ "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/0ae9f0f0472351480e2f60b55b2c674173f82774",
7161
+ "reference": "0ae9f0f0472351480e2f60b55b2c674173f82774",
7162
  "shasum": ""
7163
  },
7164
  "require": {
7165
  "ext-curl": "*",
7166
  "mustache/mustache": "~2.13",
7167
+ "php": "^5.6 || ^7.0",
7168
  "rmccue/requests": "~1.6",
7169
  "symfony/finder": ">2.7",
7170
  "wp-cli/mustangostang-spyc": "^0.6.3",
7194
  },
7195
  "autoload": {
7196
  "psr-0": {
7197
+ "WP_CLI\\": "php/"
7198
+ },
7199
+ "classmap": [
7200
+ "php/class-wp-cli.php",
7201
+ "php/class-wp-cli-command.php"
7202
+ ]
7203
  },
7204
  "notification-url": "https://packagist.org/downloads/",
7205
  "license": [
7211
  "cli",
7212
  "wordpress"
7213
  ],
7214
+ "time": "2020-06-10T15:22:07+00:00"
7215
  },
7216
  {
7217
  "name": "wp-cli/wp-cli-bundle",
7499
  },
7500
  {
7501
  "name": "wpdesk/wp-builder",
7502
+ "version": "1.4.4",
7503
  "source": {
7504
  "type": "git",
7505
  "url": "https://gitlab.com/wpdesk/wp-builder.git",
7506
+ "reference": "e18df43bc3bc047c7bc0ed3e52eabb16118f4bc9"
7507
  },
7508
  "dist": {
7509
  "type": "zip",
7510
+ "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-builder/repository/archive.zip?sha=e18df43bc3bc047c7bc0ed3e52eabb16118f4bc9",
7511
+ "reference": "e18df43bc3bc047c7bc0ed3e52eabb16118f4bc9",
7512
  "shasum": ""
7513
  },
7514
  "require": {
7538
  "email": "krzysiek@wpdesk.pl"
7539
  }
7540
  ],
7541
+ "time": "2020-06-17T08:00:07+00:00"
7542
  },
7543
  {
7544
  "name": "wpdesk/wp-code-sniffer",
8038
  },
8039
  {
8040
  "name": "wpdesk/wp-wpdesk-composer",
8041
+ "version": "2.8.5",
8042
  "source": {
8043
  "type": "git",
8044
  "url": "https://gitlab.com/wpdesk/wp-wpdesk-composer.git",
8045
+ "reference": "8725f6d70c14c6fc81cdc54197f1d98745fb4fad"
8046
  },
8047
  "dist": {
8048
  "type": "zip",
8049
+ "url": "https://gitlab.com/api/v4/projects/wpdesk%2Fwp-wpdesk-composer/repository/archive.zip?sha=8725f6d70c14c6fc81cdc54197f1d98745fb4fad",
8050
+ "reference": "8725f6d70c14c6fc81cdc54197f1d98745fb4fad",
8051
  "shasum": ""
8052
  },
8053
  "require": {
8077
  "email": "krzysiek@wpdesk.pl"
8078
  }
8079
  ],
8080
+ "time": "2020-06-03T11:26:35+00:00"
8081
  },
8082
  {
8083
  "name": "wpdesk/wp-wpdesk-helper",
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: 3.9.20
7
  * Author: WP Desk
8
  * Author URI: https://www.wpdesk.net/
9
  * Text Domain: flexible-shipping
10
  * Domain Path: /lang/
11
  * Requires at least: 4.5
12
- * Tested up to: 5.4.1
13
  * WC requires at least: 3.8
14
- * WC tested up to: 4.2
15
  * Requires PHP: 5.6
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 = '3.9.20';
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: 3.9.21
7
  * Author: WP Desk
8
  * Author URI: https://www.wpdesk.net/
9
  * Text Domain: flexible-shipping
10
  * Domain Path: /lang/
11
  * Requires at least: 4.5
12
+ * Tested up to: 5.4.2
13
  * WC requires at least: 3.8
14
+ * WC tested up to: 4.3
15
  * Requires PHP: 5.6
16
  *
17
  * Copyright 2017 WP Desk Ltd.
38
  } // Exit if accessed directly
39
 
40
  /* THIS VARIABLE CAN BE CHANGED AUTOMATICALLY */
41
+ $plugin_version = '3.9.21';
42
 
43
  $plugin_name = 'Flexible Shipping';
44
  $product_id = 'Flexible Shipping';
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko
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.4.1
7
- Stable tag: 3.9.20
8
  Requires PHP: 5.6
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -163,6 +163,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
163
 
164
  == Changelog ==
165
 
 
 
 
166
  = 3.9.20 - 2020-06-01 =
167
  * Added support for WooCommerce 4.2
168
 
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.4.2
7
+ Stable tag: 3.9.21
8
  Requires PHP: 5.6
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
163
 
164
  == Changelog ==
165
 
166
+ = 3.9.21 - 2020-06-23 =
167
+ * Fixed Aelia Currency Switcher integration
168
+
169
  = 3.9.20 - 2020-06-01 =
170
  * Added support for WooCommerce 4.2
171
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit886fd344e5f55e334ee0ddaa1a7157fd::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit8609bef71e8139e3d165dce75681d32c::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit886fd344e5f55e334ee0ddaa1a7157fd
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit886fd344e5f55e334ee0ddaa1a7157fd
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit886fd344e5f55e334ee0ddaa1a7157fd', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit886fd344e5f55e334ee0ddaa1a7157fd', '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\ComposerStaticInit886fd344e5f55e334ee0ddaa1a7157fd::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 ComposerAutoloaderInit8609bef71e8139e3d165dce75681d32c
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit8609bef71e8139e3d165dce75681d32c', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit8609bef71e8139e3d165dce75681d32c', '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\ComposerStaticInit8609bef71e8139e3d165dce75681d32c::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit886fd344e5f55e334ee0ddaa1a7157fd
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
@@ -371,9 +371,9 @@ class ComposerStaticInit886fd344e5f55e334ee0ddaa1a7157fd
371
  public static function getInitializer(ClassLoader $loader)
372
  {
373
  return \Closure::bind(function () use ($loader) {
374
- $loader->prefixLengthsPsr4 = ComposerStaticInit886fd344e5f55e334ee0ddaa1a7157fd::$prefixLengthsPsr4;
375
- $loader->prefixDirsPsr4 = ComposerStaticInit886fd344e5f55e334ee0ddaa1a7157fd::$prefixDirsPsr4;
376
- $loader->classMap = ComposerStaticInit886fd344e5f55e334ee0ddaa1a7157fd::$classMap;
377
 
378
  }, null, ClassLoader::class);
379
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit8609bef71e8139e3d165dce75681d32c
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'P' =>
371
  public static function getInitializer(ClassLoader $loader)
372
  {
373
  return \Closure::bind(function () use ($loader) {
374
+ $loader->prefixLengthsPsr4 = ComposerStaticInit8609bef71e8139e3d165dce75681d32c::$prefixLengthsPsr4;
375
+ $loader->prefixDirsPsr4 = ComposerStaticInit8609bef71e8139e3d165dce75681d32c::$prefixDirsPsr4;
376
+ $loader->classMap = ComposerStaticInit8609bef71e8139e3d165dce75681d32c::$classMap;
377
 
378
  }, null, ClassLoader::class);
379
  }
vendor_prefixed/wpdesk/wp-builder/src/Plugin/WithoutNamespace/Plugin_Info.php CHANGED
@@ -5,11 +5,11 @@ namespace FSVendor;
5
  if (!\interface_exists('FSVendor\\WPDesk_Translatable')) {
6
  require_once __DIR__ . '/Translatable.php';
7
  }
8
- if (!\class_exists('FSVendor\\WPDesk_Buildable')) {
9
  require_once __DIR__ . '/Buildable.php';
10
  }
11
- if (!\class_exists('FSVendor\\WPDesk_Has_Plugin_Info')) {
12
- require_once 'Has_Plugin_Info.php';
13
  }
14
  /**
15
  * Structure with core info about plugin
5
  if (!\interface_exists('FSVendor\\WPDesk_Translatable')) {
6
  require_once __DIR__ . '/Translatable.php';
7
  }
8
+ if (!\interface_exists('FSVendor\\WPDesk_Buildable')) {
9
  require_once __DIR__ . '/Buildable.php';
10
  }
11
+ if (!\interface_exists('FSVendor\\WPDesk_Has_Plugin_Info')) {
12
+ require_once __DIR__ . '/Has_Plugin_Info.php';
13
  }
14
  /**
15
  * Structure with core info about plugin