You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+19
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,23 @@
1
1
# Changelog
2
2
3
+
## [4.26.0]
4
+
5
+
### Added
6
+
- Added automatic API scope check during plugin installation. If provided API credentials do not meet the required [criteria](https://developer.bigcommerce.com/bigcommerce-for-wordpress/ZG9jOjIyMDYzNQ-multisite), the plugin installation will be aborted and an error message will be shown
7
+
- Added ability to control customer's group's cache expiration time as well as ability to purge customer and products cache. In order to control or purge the cache go to Bigcommerce -> Settings -> Diagnostics.
8
+
- Use the 'Flush Users Cache' button will purge customers' group cache and retrieve fresh data from Bigcommerce API.
9
+
- Use the 'User Cache Expiration' option field to set the time for how long the group cache should be stored.
10
+
- Use the 'Flush Products Cache' button in order to invalidate products cache
11
+
- Please note: if webhooks are enabled the cache will be invalidated automatically
12
+
13
+
### Changed
14
+
- Update plugin readme 'Tested up to' version
15
+
- Update styles for 'Choose Options' on Twenty Twenty-Two theme
16
+
17
+
### Fixed
18
+
- Correct label spelling from 'Production Condition Color' to 'Product Condition Color' in Customizer Colors section.
19
+
- Fix image zoom styling on product page for Twenty Twenty-One theme
20
+
3
21
## [4.25.0]
4
22
5
23
### Added
@@ -1704,6 +1722,7 @@
1704
1722
in fact, reset postdata, so far as Gutenberg 3.2.0 is concerned.
Copy file name to clipboardExpand all lines: bigcommerce.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
Plugin Name: BigCommerce for WordPress
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.
$expiration = HOUR_IN_SECONDS; // TODO: a future webhook to flush this cache when the customer's group changes
350
+
$expiration = get_option( Troubleshooting_Diagnostics::USERS_TRANSIENT, 12 * HOUR_IN_SECONDS ); // TODO: a future webhook to flush this cache when the customer's group changes
350
351
if ( $group_id === 0 ) {
351
352
set_transient( $transient_key, 'zero', $expiration ); // workaround for storing empty values in cache
add_settings_error( Api_Credentials_Screen::NAME, 'submitted', __( 'Unable to connect to the BigCommerce API. Please re-enter your credentials.', 'bigcommerce' ), 'error' );
0 commit comments