Skip to content

Commit 37b4929

Browse files
authored
Merge pull request #302 from moderntribe/release/4.17.1
packaged version 4.17.1
2 parents b8b07b7 + 69ed042 commit 37b4929

24 files changed

+32
-21
lines changed

.wordpress-org/banner-772x250.png

-172 KB
Binary file not shown.

.wordpress-org/icon-256x256.png

-5.38 KB
Binary file not shown.

.wordpress-org/screenshot-1.png

-335 KB
Binary file not shown.

.wordpress-org/screenshot-10.png

-594 KB
Binary file not shown.

.wordpress-org/screenshot-11.png

-551 KB
Binary file not shown.

.wordpress-org/screenshot-12.png

-506 KB
Binary file not shown.

.wordpress-org/screenshot-2.png

-1.56 MB
Binary file not shown.

.wordpress-org/screenshot-3.png

-1.42 MB
Binary file not shown.

.wordpress-org/screenshot-4.png

-1.65 MB
Binary file not shown.

.wordpress-org/screenshot-5.png

-784 KB
Binary file not shown.

.wordpress-org/screenshot-6.png

-866 KB
Binary file not shown.

.wordpress-org/screenshot-7.png

-1.51 MB
Binary file not shown.

.wordpress-org/screenshot-8.png

-266 KB
Binary file not shown.

.wordpress-org/screenshot-9.png

-1.14 MB
Binary file not shown.

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [4.17.1]
4+
5+
### Fixed
6+
- Fixes an issue with product imports/syncing where the process would fail (504)
7+
due to a timeout with `upstream_response_time`. The timeout value was increased to
8+
allow more time to complete the process.
9+
310
## [4.17.0]
411

512
### Changed

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.17.0
6+
Version: 4.17.1
77
Author URI: https://www.bigcommerce.com/wordpress
88
Requires PHP: 7.2.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', '1.35.09.03.2021');
2+
define('BIGCOMMERCE_ASSETS_BUILD_TIMESTAMP', '9.25.09.13.2021');

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.5
6-
Stable tag: 4.17.0
6+
Stable tag: 4.17.1
77
Requires PHP: 7.2.0
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html

src/BigCommerce/Container/Import.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private function process( Container $container ) {
158158

159159
$container[ self::CHANNEL ] = function ( Container $container ) {
160160
return function ( $channel_term ) use ( $container ) {
161-
return new Processors\Channel_Initializer( $container[ Api::FACTORY ]->channels(), $container[ Api::FACTORY ]->catalog(), $channel_term, $container[ self::LARGE_BATCH_SIZE ] );
161+
return new Processors\Channel_Initializer( $container[ Api::FACTORY ]->channels(), $container[ Api::FACTORY ]->catalog(), $channel_term, $container[ self::BATCH_SIZE ] );
162162
};
163163
};
164164

@@ -319,7 +319,7 @@ private function process( Container $container ) {
319319
add_filter( 'bigcommerce_modified_product_ids', $this->create_callback( 'modified_product_ids', function ( $modified_product_ids ) use ( $container ) {
320320
return $container[ self::IMPORT_TYPE ]->fetch_modified_product_ids();
321321
} ) );
322-
322+
323323
add_filter( 'bigcommerce/import/task_list', $this->create_callback( 'filter_import_type_task_list', function ( $task_list ) use ( $container ) {
324324
return $container[ self::IMPORT_TYPE ]->filter_task_list( $task_list );
325325
} ) );

src/BigCommerce/Import/Importers/Terms/Term_Saver.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function do_import() {
3535
$this->term_id = $this->save_wp_term( $this->bc_term );
3636
$this->save_wp_termmeta( $this->bc_term );
3737
$this->import_image( $this->bc_term );
38-
38+
3939
update_term_meta( $this->term_id, self::DATA_HASH_META_KEY, self::hash( $this->bc_term ) );
4040
update_term_meta( $this->term_id, self::IMPORTER_VERSION_META_KEY, Import_Strategy::VERSION );
4141

@@ -79,7 +79,11 @@ protected function term_slug( \ArrayAccess $bc_term ) {
7979

8080
$duplicate = get_term_by( 'slug', $slug, $this->taxonomy );
8181
if ( $duplicate && (int) $duplicate->term_id !== (int) $this->term_id ) {
82-
$current_slug = get_term( $this->term_id )->slug;
82+
$term = get_term( $this->term_id );
83+
$current_slug = '';
84+
if ( ! empty( $term->slug ) ) {
85+
$current_slug = $term->slug;
86+
}
8387
if ( $current_slug === $duplicate->slug ) {
8488
$slug = ''; // let WP auto-assign the slug, otherwise the creation will fail
8589
} else {

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.17.0';
7+
const VERSION = '4.17.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 ComposerAutoloaderInit395fb2d5de784f629d30fb947c973977::getLoader();
7+
return ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74::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 ComposerAutoloaderInit395fb2d5de784f629d30fb947c973977
5+
class ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74
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('ComposerAutoloaderInit395fb2d5de784f629d30fb947c973977', 'loadClassLoader'), true, true);
22+
spl_autoload_register(array('ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74', 'loadClassLoader'), true, true);
2323
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24-
spl_autoload_unregister(array('ComposerAutoloaderInit395fb2d5de784f629d30fb947c973977', 'loadClassLoader'));
24+
spl_autoload_unregister(array('ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74', '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\ComposerStaticInit395fb2d5de784f629d30fb947c973977::getInitializer($loader));
30+
call_user_func(\Composer\Autoload\ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::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\ComposerStaticInit395fb2d5de784f629d30fb947c973977::$files;
42+
$includeFiles = Composer\Autoload\ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$files;
4343
} else {
4444
$includeFiles = require __DIR__ . '/autoload_files.php';
4545
}
4646
foreach ($includeFiles as $fileIdentifier => $file) {
47-
composerRequire395fb2d5de784f629d30fb947c973977($fileIdentifier, $file);
47+
composerRequire6ebd78331c8330d3327c492a7e3c4b74($fileIdentifier, $file);
4848
}
4949

5050
return $loader;
5151
}
5252
}
5353

54-
function composerRequire395fb2d5de784f629d30fb947c973977($fileIdentifier, $file)
54+
function composerRequire6ebd78331c8330d3327c492a7e3c4b74($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 ComposerStaticInit395fb2d5de784f629d30fb947c973977
7+
class ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74
88
{
99
public static $files = array (
1010
'5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php',
@@ -1119,10 +1119,10 @@ class ComposerStaticInit395fb2d5de784f629d30fb947c973977
11191119
public static function getInitializer(ClassLoader $loader)
11201120
{
11211121
return \Closure::bind(function () use ($loader) {
1122-
$loader->prefixLengthsPsr4 = ComposerStaticInit395fb2d5de784f629d30fb947c973977::$prefixLengthsPsr4;
1123-
$loader->prefixDirsPsr4 = ComposerStaticInit395fb2d5de784f629d30fb947c973977::$prefixDirsPsr4;
1124-
$loader->prefixesPsr0 = ComposerStaticInit395fb2d5de784f629d30fb947c973977::$prefixesPsr0;
1125-
$loader->classMap = ComposerStaticInit395fb2d5de784f629d30fb947c973977::$classMap;
1122+
$loader->prefixLengthsPsr4 = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$prefixLengthsPsr4;
1123+
$loader->prefixDirsPsr4 = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$prefixDirsPsr4;
1124+
$loader->prefixesPsr0 = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$prefixesPsr0;
1125+
$loader->classMap = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$classMap;
11261126

11271127
}, null, ClassLoader::class);
11281128
}

0 commit comments

Comments
 (0)