Changeset 2598294
- Timestamp:
- 09/13/2021 10:48:53 PM (4 years ago)
- Location:
- bigcommerce
- Files:
-
- 20 edited
- 1 copied
-
tags/4.17.1 (copied) (copied from bigcommerce/trunk)
-
tags/4.17.1/CHANGELOG.md (modified) (1 diff)
-
tags/4.17.1/bigcommerce.php (modified) (1 diff)
-
tags/4.17.1/build-timestamp.php (modified) (1 diff)
-
tags/4.17.1/readme.txt (modified) (1 diff)
-
tags/4.17.1/src/BigCommerce/Container/Import.php (modified) (2 diffs)
-
tags/4.17.1/src/BigCommerce/Import/Importers/Terms/Term_Saver.php (modified) (2 diffs)
-
tags/4.17.1/src/BigCommerce/Plugin.php (modified) (1 diff)
-
tags/4.17.1/vendor/autoload.php (modified) (1 diff)
-
tags/4.17.1/vendor/composer/autoload_real.php (modified) (5 diffs)
-
tags/4.17.1/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/bigcommerce.php (modified) (1 diff)
-
trunk/build-timestamp.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/src/BigCommerce/Container/Import.php (modified) (2 diffs)
-
trunk/src/BigCommerce/Import/Importers/Terms/Term_Saver.php (modified) (2 diffs)
-
trunk/src/BigCommerce/Plugin.php (modified) (1 diff)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bigcommerce/tags/4.17.1/CHANGELOG.md
r2595351 r2598294 1 1 # Changelog 2 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. 2 9 3 10 ## [4.17.0] -
bigcommerce/tags/4.17.1/bigcommerce.php
r2595351 r2598294 4 4 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. 5 5 Author: BigCommerce 6 Version: 4.17. 06 Version: 4.17.1 7 7 Author URI: https://www.bigcommerce.com/wordpress 8 8 Requires PHP: 7.2.0 -
bigcommerce/tags/4.17.1/build-timestamp.php
r2595351 r2598294 1 1 <?php 2 define('BIGCOMMERCE_ASSETS_BUILD_TIMESTAMP', ' 1.35.09.03.2021');2 define('BIGCOMMERCE_ASSETS_BUILD_TIMESTAMP', '9.25.09.13.2021'); -
bigcommerce/tags/4.17.1/readme.txt
r2595351 r2598294 4 4 Requires at least: 5.2 5 5 Tested up to: 5.5 6 Stable tag: 4.17. 06 Stable tag: 4.17.1 7 7 Requires PHP: 7.2.0 8 8 License: GPLv2 or later -
bigcommerce/tags/4.17.1/src/BigCommerce/Container/Import.php
r2574256 r2598294 159 159 $container[ self::CHANNEL ] = function ( Container $container ) { 160 160 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 ] ); 162 162 }; 163 163 }; … … 320 320 return $container[ self::IMPORT_TYPE ]->fetch_modified_product_ids(); 321 321 } ) ); 322 322 323 323 add_filter( 'bigcommerce/import/task_list', $this->create_callback( 'filter_import_type_task_list', function ( $task_list ) use ( $container ) { 324 324 return $container[ self::IMPORT_TYPE ]->filter_task_list( $task_list ); -
bigcommerce/tags/4.17.1/src/BigCommerce/Import/Importers/Terms/Term_Saver.php
r2526904 r2598294 36 36 $this->save_wp_termmeta( $this->bc_term ); 37 37 $this->import_image( $this->bc_term ); 38 38 39 39 update_term_meta( $this->term_id, self::DATA_HASH_META_KEY, self::hash( $this->bc_term ) ); 40 40 update_term_meta( $this->term_id, self::IMPORTER_VERSION_META_KEY, Import_Strategy::VERSION ); … … 80 80 $duplicate = get_term_by( 'slug', $slug, $this->taxonomy ); 81 81 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 } 83 87 if ( $current_slug === $duplicate->slug ) { 84 88 $slug = ''; // let WP auto-assign the slug, otherwise the creation will fail -
bigcommerce/tags/4.17.1/src/BigCommerce/Plugin.php
r2595351 r2598294 5 5 6 6 class Plugin { 7 const VERSION = '4.17. 0';7 const VERSION = '4.17.1'; 8 8 9 9 protected static $_instance; -
bigcommerce/tags/4.17.1/vendor/autoload.php
r2595351 r2598294 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 395fb2d5de784f629d30fb947c973977::getLoader();7 return ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74::getLoader(); -
bigcommerce/tags/4.17.1/vendor/composer/autoload_real.php
r2595351 r2598294 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 395fb2d5de784f629d30fb947c9739775 class ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 395fb2d5de784f629d30fb947c973977', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 395fb2d5de784f629d30fb947c973977', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74', 'loadClassLoader')); 25 25 26 26 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 28 28 require_once __DIR__ . '/autoload_static.php'; 29 29 30 call_user_func(\Composer\Autoload\ComposerStaticInit 395fb2d5de784f629d30fb947c973977::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::getInitializer($loader)); 31 31 } else { 32 32 $classMap = require __DIR__ . '/autoload_classmap.php'; … … 40 40 41 41 if ($useStaticLoader) { 42 $includeFiles = Composer\Autoload\ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$files;42 $includeFiles = Composer\Autoload\ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$files; 43 43 } else { 44 44 $includeFiles = require __DIR__ . '/autoload_files.php'; 45 45 } 46 46 foreach ($includeFiles as $fileIdentifier => $file) { 47 composerRequire 395fb2d5de784f629d30fb947c973977($fileIdentifier, $file);47 composerRequire6ebd78331c8330d3327c492a7e3c4b74($fileIdentifier, $file); 48 48 } 49 49 … … 52 52 } 53 53 54 function composerRequire 395fb2d5de784f629d30fb947c973977($fileIdentifier, $file)54 function composerRequire6ebd78331c8330d3327c492a7e3c4b74($fileIdentifier, $file) 55 55 { 56 56 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
bigcommerce/tags/4.17.1/vendor/composer/autoload_static.php
r2595351 r2598294 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 395fb2d5de784f629d30fb947c9739777 class ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74 8 8 { 9 9 public static $files = array ( … … 1120 1120 { 1121 1121 return \Closure::bind(function () use ($loader) { 1122 $loader->prefixLengthsPsr4 = ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$prefixLengthsPsr4;1123 $loader->prefixDirsPsr4 = ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$prefixDirsPsr4;1124 $loader->prefixesPsr0 = ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$prefixesPsr0;1125 $loader->classMap = ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$classMap;1122 $loader->prefixLengthsPsr4 = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$prefixLengthsPsr4; 1123 $loader->prefixDirsPsr4 = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$prefixDirsPsr4; 1124 $loader->prefixesPsr0 = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$prefixesPsr0; 1125 $loader->classMap = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$classMap; 1126 1126 1127 1127 }, null, ClassLoader::class); -
bigcommerce/trunk/CHANGELOG.md
r2595351 r2598294 1 1 # Changelog 2 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. 2 9 3 10 ## [4.17.0] -
bigcommerce/trunk/bigcommerce.php
r2595351 r2598294 4 4 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. 5 5 Author: BigCommerce 6 Version: 4.17. 06 Version: 4.17.1 7 7 Author URI: https://www.bigcommerce.com/wordpress 8 8 Requires PHP: 7.2.0 -
bigcommerce/trunk/build-timestamp.php
r2595351 r2598294 1 1 <?php 2 define('BIGCOMMERCE_ASSETS_BUILD_TIMESTAMP', ' 1.35.09.03.2021');2 define('BIGCOMMERCE_ASSETS_BUILD_TIMESTAMP', '9.25.09.13.2021'); -
bigcommerce/trunk/readme.txt
r2595351 r2598294 4 4 Requires at least: 5.2 5 5 Tested up to: 5.5 6 Stable tag: 4.17. 06 Stable tag: 4.17.1 7 7 Requires PHP: 7.2.0 8 8 License: GPLv2 or later -
bigcommerce/trunk/src/BigCommerce/Container/Import.php
r2574256 r2598294 159 159 $container[ self::CHANNEL ] = function ( Container $container ) { 160 160 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 ] ); 162 162 }; 163 163 }; … … 320 320 return $container[ self::IMPORT_TYPE ]->fetch_modified_product_ids(); 321 321 } ) ); 322 322 323 323 add_filter( 'bigcommerce/import/task_list', $this->create_callback( 'filter_import_type_task_list', function ( $task_list ) use ( $container ) { 324 324 return $container[ self::IMPORT_TYPE ]->filter_task_list( $task_list ); -
bigcommerce/trunk/src/BigCommerce/Import/Importers/Terms/Term_Saver.php
r2526904 r2598294 36 36 $this->save_wp_termmeta( $this->bc_term ); 37 37 $this->import_image( $this->bc_term ); 38 38 39 39 update_term_meta( $this->term_id, self::DATA_HASH_META_KEY, self::hash( $this->bc_term ) ); 40 40 update_term_meta( $this->term_id, self::IMPORTER_VERSION_META_KEY, Import_Strategy::VERSION ); … … 80 80 $duplicate = get_term_by( 'slug', $slug, $this->taxonomy ); 81 81 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 } 83 87 if ( $current_slug === $duplicate->slug ) { 84 88 $slug = ''; // let WP auto-assign the slug, otherwise the creation will fail -
bigcommerce/trunk/src/BigCommerce/Plugin.php
r2595351 r2598294 5 5 6 6 class Plugin { 7 const VERSION = '4.17. 0';7 const VERSION = '4.17.1'; 8 8 9 9 protected static $_instance; -
bigcommerce/trunk/vendor/autoload.php
r2595351 r2598294 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 395fb2d5de784f629d30fb947c973977::getLoader();7 return ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74::getLoader(); -
bigcommerce/trunk/vendor/composer/autoload_real.php
r2595351 r2598294 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 395fb2d5de784f629d30fb947c9739775 class ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 395fb2d5de784f629d30fb947c973977', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 395fb2d5de784f629d30fb947c973977', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit6ebd78331c8330d3327c492a7e3c4b74', 'loadClassLoader')); 25 25 26 26 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 28 28 require_once __DIR__ . '/autoload_static.php'; 29 29 30 call_user_func(\Composer\Autoload\ComposerStaticInit 395fb2d5de784f629d30fb947c973977::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::getInitializer($loader)); 31 31 } else { 32 32 $classMap = require __DIR__ . '/autoload_classmap.php'; … … 40 40 41 41 if ($useStaticLoader) { 42 $includeFiles = Composer\Autoload\ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$files;42 $includeFiles = Composer\Autoload\ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$files; 43 43 } else { 44 44 $includeFiles = require __DIR__ . '/autoload_files.php'; 45 45 } 46 46 foreach ($includeFiles as $fileIdentifier => $file) { 47 composerRequire 395fb2d5de784f629d30fb947c973977($fileIdentifier, $file);47 composerRequire6ebd78331c8330d3327c492a7e3c4b74($fileIdentifier, $file); 48 48 } 49 49 … … 52 52 } 53 53 54 function composerRequire 395fb2d5de784f629d30fb947c973977($fileIdentifier, $file)54 function composerRequire6ebd78331c8330d3327c492a7e3c4b74($fileIdentifier, $file) 55 55 { 56 56 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
bigcommerce/trunk/vendor/composer/autoload_static.php
r2595351 r2598294 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 395fb2d5de784f629d30fb947c9739777 class ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74 8 8 { 9 9 public static $files = array ( … … 1120 1120 { 1121 1121 return \Closure::bind(function () use ($loader) { 1122 $loader->prefixLengthsPsr4 = ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$prefixLengthsPsr4;1123 $loader->prefixDirsPsr4 = ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$prefixDirsPsr4;1124 $loader->prefixesPsr0 = ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$prefixesPsr0;1125 $loader->classMap = ComposerStaticInit 395fb2d5de784f629d30fb947c973977::$classMap;1122 $loader->prefixLengthsPsr4 = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$prefixLengthsPsr4; 1123 $loader->prefixDirsPsr4 = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$prefixDirsPsr4; 1124 $loader->prefixesPsr0 = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$prefixesPsr0; 1125 $loader->classMap = ComposerStaticInit6ebd78331c8330d3327c492a7e3c4b74::$classMap; 1126 1126 1127 1127 }, null, ClassLoader::class);
Note: See TracChangeset
for help on using the changeset viewer.