Skip to content

Commit dbfbc1e

Browse files
authored
packaged version 4.26.1 (#343)
1 parent 0d76fbb commit dbfbc1e

File tree

9 files changed

+40
-20
lines changed

9 files changed

+40
-20
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [4.26.1]
4+
5+
### Fixed
6+
- Increased the Custom Fields values limit and add correct processing for the special characters. If the error occurs on that step import will continue working with the next batch of the products
7+
38
## [4.26.0]
49

510
### Added
@@ -1722,6 +1727,7 @@
17221727
in fact, reset postdata, so far as Gutenberg 3.2.0 is concerned.
17231728

17241729

1730+
[4.26.1]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.26.0...4.26.1
17251731
[4.26.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.25.0...4.26.0
17261732
[4.25.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.24.0...4.25.0
17271733
[4.24.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/4.23.0...4.24.0

bigcommerce.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: BigCommerce for WordPress
44
Description: Scale your ecommerce business with WordPress on the front-end and BigCommerce on the back end. Free up server resources from things like catalog management, processing payments, and managing fulfillment logistics.
55
Author: BigCommerce
6-
Version: 4.26
6+
Version: 4.26.1
77
Author URI: https://www.bigcommerce.com/wordpress
88
Requires PHP: 7.4.0
99
Text Domain: bigcommerce

build-timestamp.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?php
2-
define('BIGCOMMERCE_ASSETS_BUILD_TIMESTAMP', '5.44.03.28.2022');
2+
define('BIGCOMMERCE_ASSETS_BUILD_TIMESTAMP', '5.00.04.05.2022');

readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: bigcommerce, moderntribe, jbrinley, becomevocal, vincentlistrani,
33
Tags: ecommerce, online store, sell online, storefront, retail, online shop, bigcommerce, big commerce, e-commerce, physical products, buy buttons, commerce, shopping cart, checkout, cart, shop, headless commerce, shipping, payments, fulfillment
44
Requires at least: 5.2
55
Tested up to: 5.9.2
6-
Stable tag: 4.26
6+
Stable tag: 4.26.1
77
Requires PHP: 7.4.0
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html

src/BigCommerce/Import/Processors/Product_Data_Fetcher.php

+17-3
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,16 @@ public function run() {
7979
'response' => $e->getResponseBody(),
8080
'headers' => $e->getResponseHeaders(),
8181
] );
82+
83+
do_action( 'bigcommerce/log', Error_Log::DEBUG, $e->getTraceAsString(), [] );
84+
85+
return;
86+
} catch ( \InvalidArgumentException $e ) {
87+
do_action( 'bigcommerce/import/error', $e->getMessage(), [] );
8288
do_action( 'bigcommerce/log', Error_Log::DEBUG, $e->getTraceAsString(), [] );
8389

90+
$this->fetch_end( $next, $status );
91+
8492
return;
8593
}
8694

@@ -160,16 +168,22 @@ public function run() {
160168
*/
161169
do_action( 'bigcommerce/import/fetched_products', $count, $products_response );
162170

171+
$this->fetch_end( $next, $status );
172+
}
173+
174+
private function fetch_end( $next, $status ) {
163175
$next ++;
164176
if ( ! empty( $chunks[ $next ] ) ) {
165177
do_action( 'bigcommerce/log', Error_Log::DEBUG, __( 'Ready for next page of products', 'bigcommerce' ), [
166178
'next' => $next,
167179
] );
168180
$this->set_next( $next );
169-
} else {
170-
$status->set_status( Status::FETCHED_PRODUCTS );
171-
$this->clear_state();
181+
182+
return;
172183
}
184+
185+
$status->set_status( Status::FETCHED_PRODUCTS );
186+
$this->clear_state();
173187
}
174188

175189
private function get_filtered_listing_map() {

src/BigCommerce/Plugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace BigCommerce;
55

66
class Plugin {
7-
const VERSION = '4.26';
7+
const VERSION = '4.26.1';
88

99
protected static $_instance;
1010

vendor/autoload.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
require_once __DIR__ . '/composer/autoload_real.php';
66

7-
return ComposerAutoloaderInit77dce690d2c051bddb4fbede6c678308::getLoader();
7+
return ComposerAutoloaderInit87d34ae3c61aacda6f6eb087ad283a6a::getLoader();

vendor/composer/autoload_real.php

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit77dce690d2c051bddb4fbede6c678308
5+
class ComposerAutoloaderInit87d34ae3c61aacda6f6eb087ad283a6a
66
{
77
private static $loader;
88

@@ -19,15 +19,15 @@ public static function getLoader()
1919
return self::$loader;
2020
}
2121

22-
spl_autoload_register(array('ComposerAutoloaderInit77dce690d2c051bddb4fbede6c678308', 'loadClassLoader'), true, true);
22+
spl_autoload_register(array('ComposerAutoloaderInit87d34ae3c61aacda6f6eb087ad283a6a', 'loadClassLoader'), true, true);
2323
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24-
spl_autoload_unregister(array('ComposerAutoloaderInit77dce690d2c051bddb4fbede6c678308', 'loadClassLoader'));
24+
spl_autoload_unregister(array('ComposerAutoloaderInit87d34ae3c61aacda6f6eb087ad283a6a', 'loadClassLoader'));
2525

2626
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
2727
if ($useStaticLoader) {
2828
require_once __DIR__ . '/autoload_static.php';
2929

30-
call_user_func(\Composer\Autoload\ComposerStaticInit77dce690d2c051bddb4fbede6c678308::getInitializer($loader));
30+
call_user_func(\Composer\Autoload\ComposerStaticInit87d34ae3c61aacda6f6eb087ad283a6a::getInitializer($loader));
3131
} else {
3232
$classMap = require __DIR__ . '/autoload_classmap.php';
3333
if ($classMap) {
@@ -39,19 +39,19 @@ public static function getLoader()
3939
$loader->register(true);
4040

4141
if ($useStaticLoader) {
42-
$includeFiles = Composer\Autoload\ComposerStaticInit77dce690d2c051bddb4fbede6c678308::$files;
42+
$includeFiles = Composer\Autoload\ComposerStaticInit87d34ae3c61aacda6f6eb087ad283a6a::$files;
4343
} else {
4444
$includeFiles = require __DIR__ . '/autoload_files.php';
4545
}
4646
foreach ($includeFiles as $fileIdentifier => $file) {
47-
composerRequire77dce690d2c051bddb4fbede6c678308($fileIdentifier, $file);
47+
composerRequire87d34ae3c61aacda6f6eb087ad283a6a($fileIdentifier, $file);
4848
}
4949

5050
return $loader;
5151
}
5252
}
5353

54-
function composerRequire77dce690d2c051bddb4fbede6c678308($fileIdentifier, $file)
54+
function composerRequire87d34ae3c61aacda6f6eb087ad283a6a($fileIdentifier, $file)
5555
{
5656
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
5757
require $file;

vendor/composer/autoload_static.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit77dce690d2c051bddb4fbede6c678308
7+
class ComposerStaticInit87d34ae3c61aacda6f6eb087ad283a6a
88
{
99
public static $files = array (
1010
'5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
@@ -1139,10 +1139,10 @@ class ComposerStaticInit77dce690d2c051bddb4fbede6c678308
11391139
public static function getInitializer(ClassLoader $loader)
11401140
{
11411141
return \Closure::bind(function () use ($loader) {
1142-
$loader->prefixLengthsPsr4 = ComposerStaticInit77dce690d2c051bddb4fbede6c678308::$prefixLengthsPsr4;
1143-
$loader->prefixDirsPsr4 = ComposerStaticInit77dce690d2c051bddb4fbede6c678308::$prefixDirsPsr4;
1144-
$loader->prefixesPsr0 = ComposerStaticInit77dce690d2c051bddb4fbede6c678308::$prefixesPsr0;
1145-
$loader->classMap = ComposerStaticInit77dce690d2c051bddb4fbede6c678308::$classMap;
1142+
$loader->prefixLengthsPsr4 = ComposerStaticInit87d34ae3c61aacda6f6eb087ad283a6a::$prefixLengthsPsr4;
1143+
$loader->prefixDirsPsr4 = ComposerStaticInit87d34ae3c61aacda6f6eb087ad283a6a::$prefixDirsPsr4;
1144+
$loader->prefixesPsr0 = ComposerStaticInit87d34ae3c61aacda6f6eb087ad283a6a::$prefixesPsr0;
1145+
$loader->classMap = ComposerStaticInit87d34ae3c61aacda6f6eb087ad283a6a::$classMap;
11461146

11471147
}, null, ClassLoader::class);
11481148
}

0 commit comments

Comments
 (0)