Version Description
- 2021-04-13 =
Bug Fixes
- Check if Cart and Checkout are registered before removing payment methods. (4056)
Download this release
Release Info
Developer | automattic |
Plugin | WooCommerce Gutenberg Products Block |
Version | 4.9.1 |
Comparing to | |
See all releases |
Code changes from version 4.9.0 to 4.9.1
- readme.txt +7 -1
- src/Package.php +1 -1
- src/Payments/Api.php +6 -0
- vendor/autoload.php +1 -1
- vendor/autoload_packages.php +1 -1
- vendor/composer/InstalledVersions.php +251 -251
- vendor/composer/LICENSE +2 -0
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +2 -2
- vendor/composer/jetpack_autoload_psr4.php +1 -1
- vendor/jetpack-autoloader/class-autoloader-handler.php +1 -1
- vendor/jetpack-autoloader/class-autoloader-locator.php +1 -1
- vendor/jetpack-autoloader/class-autoloader.php +1 -1
- vendor/jetpack-autoloader/class-container.php +1 -1
- vendor/jetpack-autoloader/class-hook-manager.php +1 -1
- vendor/jetpack-autoloader/class-latest-autoloader-guard.php +1 -1
- vendor/jetpack-autoloader/class-manifest-reader.php +1 -1
- vendor/jetpack-autoloader/class-path-processor.php +1 -1
- vendor/jetpack-autoloader/class-php-autoloader.php +1 -1
- vendor/jetpack-autoloader/class-plugin-locator.php +1 -1
- vendor/jetpack-autoloader/class-plugins-handler.php +1 -1
- vendor/jetpack-autoloader/class-version-loader.php +1 -1
- vendor/jetpack-autoloader/class-version-selector.php +1 -1
- woocommerce-gutenberg-products-block.php +1 -1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: gutenberg, woocommerce, woo commerce, products, blocks, woocommerce blocks
|
|
4 |
Requires at least: 5.5
|
5 |
Tested up to: 5.7
|
6 |
Requires PHP: 7.0
|
7 |
-
Stable tag: 4.9.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -85,6 +85,12 @@ Release and roadmap notes available on the [WooCommerce Developers Blog](https:/
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
= 4.9.0 - 2021-04-12 =
|
89 |
#### Enhancements
|
90 |
|
4 |
Requires at least: 5.5
|
5 |
Tested up to: 5.7
|
6 |
Requires PHP: 7.0
|
7 |
+
Stable tag: 4.9.1
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 4.9.1 - 2021-04-13 =
|
89 |
+
|
90 |
+
#### Bug Fixes
|
91 |
+
|
92 |
+
- Check if Cart and Checkout are registered before removing payment methods. ([4056](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/4056))
|
93 |
+
|
94 |
= 4.9.0 - 2021-04-12 =
|
95 |
#### Enhancements
|
96 |
|
src/Package.php
CHANGED
@@ -106,7 +106,7 @@ class Package {
|
|
106 |
NewPackage::class,
|
107 |
function ( $container ) {
|
108 |
// leave for automated version bumping.
|
109 |
-
$version = '4.9.
|
110 |
return new NewPackage(
|
111 |
$version,
|
112 |
dirname( __DIR__ ),
|
106 |
NewPackage::class,
|
107 |
function ( $container ) {
|
108 |
// leave for automated version bumping.
|
109 |
+
$version = '4.9.1';
|
110 |
return new NewPackage(
|
111 |
$version,
|
112 |
dirname( __DIR__ ),
|
src/Payments/Api.php
CHANGED
@@ -216,6 +216,12 @@ class Api {
|
|
216 |
|
217 |
$cart_checkout_scripts = [ 'wc-cart-block', 'wc-cart-block-frontend', 'wc-checkout-block', 'wc-checkout-block-frontend' ];
|
218 |
foreach ( $cart_checkout_scripts as $script_handle ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
// Remove payment method script from dependencies.
|
220 |
$wp_scripts->registered[ $script_handle ]->deps = array_diff(
|
221 |
$wp_scripts->registered[ $script_handle ]->deps,
|
216 |
|
217 |
$cart_checkout_scripts = [ 'wc-cart-block', 'wc-cart-block-frontend', 'wc-checkout-block', 'wc-checkout-block-frontend' ];
|
218 |
foreach ( $cart_checkout_scripts as $script_handle ) {
|
219 |
+
if (
|
220 |
+
! array_key_exists( $script_handle, $wp_scripts->registered ) ||
|
221 |
+
! property_exists( $wp_scripts->registered[ $script_handle ], 'deps' )
|
222 |
+
) {
|
223 |
+
continue;
|
224 |
+
}
|
225 |
// Remove payment method script from dependencies.
|
226 |
$wp_scripts->registered[ $script_handle ]->deps = array_diff(
|
227 |
$wp_scripts->registered[ $script_handle ]->deps,
|
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 ComposerAutoloaderInitdc626e89ccc8fca6cd6fabe222c1ad17::getLoader();
|
vendor/autoload_packages.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -1,28 +1,28 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
|
13 |
namespace Composer;
|
14 |
|
15 |
use Composer\Autoload\ClassLoader;
|
16 |
use Composer\Semver\VersionParser;
|
17 |
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
class InstalledVersions
|
24 |
{
|
25 |
-
|
26 |
'root' =>
|
27 |
array (
|
28 |
'pretty_version' => 'dev-trunk',
|
@@ -30,7 +30,7 @@ class InstalledVersions
|
|
30 |
'aliases' =>
|
31 |
array (
|
32 |
),
|
33 |
-
'reference' => '
|
34 |
'name' => 'woocommerce/woocommerce-blocks',
|
35 |
),
|
36 |
'versions' =>
|
@@ -74,242 +74,242 @@ class InstalledVersions
|
|
74 |
'aliases' =>
|
75 |
array (
|
76 |
),
|
77 |
-
'reference' => '
|
78 |
),
|
79 |
),
|
80 |
);
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
}
|
1 |
<?php
|
2 |
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
|
13 |
namespace Composer;
|
14 |
|
15 |
use Composer\Autoload\ClassLoader;
|
16 |
use Composer\Semver\VersionParser;
|
17 |
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
class InstalledVersions
|
24 |
{
|
25 |
+
private static $installed = array (
|
26 |
'root' =>
|
27 |
array (
|
28 |
'pretty_version' => 'dev-trunk',
|
30 |
'aliases' =>
|
31 |
array (
|
32 |
),
|
33 |
+
'reference' => 'a074162193ff8cf2dde019272e070963db4acd83',
|
34 |
'name' => 'woocommerce/woocommerce-blocks',
|
35 |
),
|
36 |
'versions' =>
|
74 |
'aliases' =>
|
75 |
array (
|
76 |
),
|
77 |
+
'reference' => 'a074162193ff8cf2dde019272e070963db4acd83',
|
78 |
),
|
79 |
),
|
80 |
);
|
81 |
+
private static $canGetVendors;
|
82 |
+
private static $installedByVendor = array();
|
83 |
+
|
84 |
+
|
85 |
+
|
86 |
+
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
public static function getInstalledPackages()
|
91 |
+
{
|
92 |
+
$packages = array();
|
93 |
+
foreach (self::getInstalled() as $installed) {
|
94 |
+
$packages[] = array_keys($installed['versions']);
|
95 |
+
}
|
96 |
+
|
97 |
+
|
98 |
+
if (1 === \count($packages)) {
|
99 |
+
return $packages[0];
|
100 |
+
}
|
101 |
+
|
102 |
+
return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
|
103 |
+
}
|
104 |
+
|
105 |
+
|
106 |
+
|
107 |
+
|
108 |
+
|
109 |
+
|
110 |
+
|
111 |
+
|
112 |
+
|
113 |
+
public static function isInstalled($packageName)
|
114 |
+
{
|
115 |
+
foreach (self::getInstalled() as $installed) {
|
116 |
+
if (isset($installed['versions'][$packageName])) {
|
117 |
+
return true;
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
return false;
|
122 |
+
}
|
123 |
+
|
124 |
+
|
125 |
+
|
126 |
+
|
127 |
+
|
128 |
+
|
129 |
+
|
130 |
+
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
|
136 |
+
|
137 |
+
public static function satisfies(VersionParser $parser, $packageName, $constraint)
|
138 |
+
{
|
139 |
+
$constraint = $parser->parseConstraints($constraint);
|
140 |
+
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
|
141 |
+
|
142 |
+
return $provided->matches($constraint);
|
143 |
+
}
|
144 |
+
|
145 |
+
|
146 |
+
|
147 |
+
|
148 |
+
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
|
153 |
+
|
154 |
+
public static function getVersionRanges($packageName)
|
155 |
+
{
|
156 |
+
foreach (self::getInstalled() as $installed) {
|
157 |
+
if (!isset($installed['versions'][$packageName])) {
|
158 |
+
continue;
|
159 |
+
}
|
160 |
+
|
161 |
+
$ranges = array();
|
162 |
+
if (isset($installed['versions'][$packageName]['pretty_version'])) {
|
163 |
+
$ranges[] = $installed['versions'][$packageName]['pretty_version'];
|
164 |
+
}
|
165 |
+
if (array_key_exists('aliases', $installed['versions'][$packageName])) {
|
166 |
+
$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
|
167 |
+
}
|
168 |
+
if (array_key_exists('replaced', $installed['versions'][$packageName])) {
|
169 |
+
$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
|
170 |
+
}
|
171 |
+
if (array_key_exists('provided', $installed['versions'][$packageName])) {
|
172 |
+
$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
|
173 |
+
}
|
174 |
+
|
175 |
+
return implode(' || ', $ranges);
|
176 |
+
}
|
177 |
+
|
178 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
179 |
+
}
|
180 |
+
|
181 |
+
|
182 |
+
|
183 |
+
|
184 |
+
|
185 |
+
public static function getVersion($packageName)
|
186 |
+
{
|
187 |
+
foreach (self::getInstalled() as $installed) {
|
188 |
+
if (!isset($installed['versions'][$packageName])) {
|
189 |
+
continue;
|
190 |
+
}
|
191 |
+
|
192 |
+
if (!isset($installed['versions'][$packageName]['version'])) {
|
193 |
+
return null;
|
194 |
+
}
|
195 |
+
|
196 |
+
return $installed['versions'][$packageName]['version'];
|
197 |
+
}
|
198 |
+
|
199 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
200 |
+
}
|
201 |
+
|
202 |
+
|
203 |
+
|
204 |
+
|
205 |
+
|
206 |
+
public static function getPrettyVersion($packageName)
|
207 |
+
{
|
208 |
+
foreach (self::getInstalled() as $installed) {
|
209 |
+
if (!isset($installed['versions'][$packageName])) {
|
210 |
+
continue;
|
211 |
+
}
|
212 |
+
|
213 |
+
if (!isset($installed['versions'][$packageName]['pretty_version'])) {
|
214 |
+
return null;
|
215 |
+
}
|
216 |
+
|
217 |
+
return $installed['versions'][$packageName]['pretty_version'];
|
218 |
+
}
|
219 |
+
|
220 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
221 |
+
}
|
222 |
+
|
223 |
+
|
224 |
+
|
225 |
+
|
226 |
+
|
227 |
+
public static function getReference($packageName)
|
228 |
+
{
|
229 |
+
foreach (self::getInstalled() as $installed) {
|
230 |
+
if (!isset($installed['versions'][$packageName])) {
|
231 |
+
continue;
|
232 |
+
}
|
233 |
+
|
234 |
+
if (!isset($installed['versions'][$packageName]['reference'])) {
|
235 |
+
return null;
|
236 |
+
}
|
237 |
+
|
238 |
+
return $installed['versions'][$packageName]['reference'];
|
239 |
+
}
|
240 |
+
|
241 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
242 |
+
}
|
243 |
+
|
244 |
+
|
245 |
+
|
246 |
+
|
247 |
+
|
248 |
+
public static function getRootPackage()
|
249 |
+
{
|
250 |
+
$installed = self::getInstalled();
|
251 |
+
|
252 |
+
return $installed[0]['root'];
|
253 |
+
}
|
254 |
+
|
255 |
+
|
256 |
+
|
257 |
+
|
258 |
+
|
259 |
+
|
260 |
+
|
261 |
+
public static function getRawData()
|
262 |
+
{
|
263 |
+
return self::$installed;
|
264 |
+
}
|
265 |
+
|
266 |
+
|
267 |
+
|
268 |
+
|
269 |
+
|
270 |
+
|
271 |
+
|
272 |
+
|
273 |
+
|
274 |
+
|
275 |
+
|
276 |
+
|
277 |
+
|
278 |
+
|
279 |
+
|
280 |
+
|
281 |
+
|
282 |
+
|
283 |
+
|
284 |
+
public static function reload($data)
|
285 |
+
{
|
286 |
+
self::$installed = $data;
|
287 |
+
self::$installedByVendor = array();
|
288 |
+
}
|
289 |
+
|
290 |
+
|
291 |
+
|
292 |
+
|
293 |
+
private static function getInstalled()
|
294 |
+
{
|
295 |
+
if (null === self::$canGetVendors) {
|
296 |
+
self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
|
297 |
+
}
|
298 |
+
|
299 |
+
$installed = array();
|
300 |
+
|
301 |
+
if (self::$canGetVendors) {
|
302 |
+
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
|
303 |
+
if (isset(self::$installedByVendor[$vendorDir])) {
|
304 |
+
$installed[] = self::$installedByVendor[$vendorDir];
|
305 |
+
} elseif (is_file($vendorDir.'/composer/installed.php')) {
|
306 |
+
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
|
307 |
+
}
|
308 |
+
}
|
309 |
+
}
|
310 |
+
|
311 |
+
$installed[] = self::$installed;
|
312 |
+
|
313 |
+
return $installed;
|
314 |
+
}
|
315 |
}
|
vendor/composer/LICENSE
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
Copyright (c) Nils Adermann, Jordi Boggiano
|
2 |
|
3 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -17,3 +18,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
19 |
THE SOFTWARE.
|
|
1 |
+
|
2 |
Copyright (c) Nils Adermann, Jordi Boggiano
|
3 |
|
4 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
18 |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19 |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20 |
THE SOFTWARE.
|
21 |
+
|
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 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit18e691114cd5c60269a98642967dd46e
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitdc626e89ccc8fca6cd6fabe222c1ad17
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitdc626e89ccc8fca6cd6fabe222c1ad17', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitdc626e89ccc8fca6cd6fabe222c1ad17', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'C' =>
|
@@ -41,9 +41,9 @@ class ComposerStaticInit18e691114cd5c60269a98642967dd46e
|
|
41 |
public static function getInitializer(ClassLoader $loader)
|
42 |
{
|
43 |
return \Closure::bind(function () use ($loader) {
|
44 |
-
$loader->prefixLengthsPsr4 =
|
45 |
-
$loader->prefixDirsPsr4 =
|
46 |
-
$loader->classMap =
|
47 |
|
48 |
}, null, ClassLoader::class);
|
49 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'C' =>
|
41 |
public static function getInitializer(ClassLoader $loader)
|
42 |
{
|
43 |
return \Closure::bind(function () use ($loader) {
|
44 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17::$prefixLengthsPsr4;
|
45 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17::$prefixDirsPsr4;
|
46 |
+
$loader->classMap = ComposerStaticInitdc626e89ccc8fca6cd6fabe222c1ad17::$classMap;
|
47 |
|
48 |
}, null, ClassLoader::class);
|
49 |
}
|
vendor/composer/installed.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
-
'reference' => '
|
10 |
'name' => 'woocommerce/woocommerce-blocks',
|
11 |
),
|
12 |
'versions' =>
|
@@ -50,7 +50,7 @@
|
|
50 |
'aliases' =>
|
51 |
array (
|
52 |
),
|
53 |
-
'reference' => '
|
54 |
),
|
55 |
),
|
56 |
);
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
+
'reference' => 'a074162193ff8cf2dde019272e070963db4acd83',
|
10 |
'name' => 'woocommerce/woocommerce-blocks',
|
11 |
),
|
12 |
'versions' =>
|
50 |
'aliases' =>
|
51 |
array (
|
52 |
),
|
53 |
+
'reference' => 'a074162193ff8cf2dde019272e070963db4acd83',
|
54 |
),
|
55 |
),
|
56 |
);
|
vendor/composer/jetpack_autoload_psr4.php
CHANGED
@@ -11,7 +11,7 @@ return array(
|
|
11 |
'path' => array( $vendorDir . '/composer/installers/src/Composer/Installers' )
|
12 |
),
|
13 |
'Automattic\\WooCommerce\\Blocks\\' => array(
|
14 |
-
'version' => '4.9.
|
15 |
'path' => array( $baseDir . '/src' )
|
16 |
),
|
17 |
'Automattic\\Jetpack\\Autoloader\\' => array(
|
11 |
'path' => array( $vendorDir . '/composer/installers/src/Composer/Installers' )
|
12 |
),
|
13 |
'Automattic\\WooCommerce\\Blocks\\' => array(
|
14 |
+
'version' => '4.9.1.0',
|
15 |
'path' => array( $baseDir . '/src' )
|
16 |
),
|
17 |
'Automattic\\Jetpack\\Autoloader\\' => array(
|
vendor/jetpack-autoloader/class-autoloader-handler.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-autoloader-locator.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-autoloader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-container.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-hook-manager.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-latest-autoloader-guard.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-manifest-reader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-path-processor.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-php-autoloader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-plugin-locator.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-plugins-handler.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-version-loader.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
vendor/jetpack-autoloader/class-version-selector.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
-
namespace Automattic\Jetpack\Autoloader\
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
5 |
* @package automattic/jetpack-autoloader
|
6 |
*/
|
7 |
|
8 |
+
namespace Automattic\Jetpack\Autoloader\jpdc626e89ccc8fca6cd6fabe222c1ad17;
|
9 |
|
10 |
// phpcs:ignore
|
11 |
|
woocommerce-gutenberg-products-block.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: WooCommerce Blocks
|
4 |
* Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
|
5 |
* Description: WooCommerce blocks for the Gutenberg editor.
|
6 |
-
* Version: 4.9.
|
7 |
* Author: Automattic
|
8 |
* Author URI: https://woocommerce.com
|
9 |
* Text Domain: woo-gutenberg-products-block
|
3 |
* Plugin Name: WooCommerce Blocks
|
4 |
* Plugin URI: https://github.com/woocommerce/woocommerce-gutenberg-products-block
|
5 |
* Description: WooCommerce blocks for the Gutenberg editor.
|
6 |
+
* Version: 4.9.1
|
7 |
* Author: Automattic
|
8 |
* Author URI: https://woocommerce.com
|
9 |
* Text Domain: woo-gutenberg-products-block
|