woocommerce/plugins/woocommerce-blocks/src
Thomas Roberts 3a62bf9d94 Invalidate script data cache when site URL, scheme, or plugin name changes (https://github.com/woocommerce/woocommerce-blocks/pull/10278)
* Add function to generate a hash for script data cache busting

* Store the script data hash if cache is not disabled

* Change transient key if accessed via https

* Update hardcoded transient key to use class variable

* Add generated hash to transient script data value

* Add check to ensure JSON is valid before proceeding

* Move JSON error check to other conditional

* Change formatting on long if

* Ensure hash is checked to invalidate cache
2023-08-03 03:16:58 -07:00
..
Assets Invalidate script data cache when site URL, scheme, or plugin name changes (https://github.com/woocommerce/woocommerce-blocks/pull/10278) 2023-08-03 03:16:58 -07:00
BlockTypes Interactivity API: Update interactive regions during client-side navigation (https://github.com/woocommerce/woocommerce-blocks/pull/10200) 2023-08-03 10:55:13 +02:00
Domain Refactor Store API hydration logic and prevent fatal errors from session class usage (https://github.com/woocommerce/woocommerce-blocks/pull/10373) 2023-08-01 12:13:18 +01:00
Integrations Bump woocommerce/woocommerce-sniffs from 0.1.0 to 0.1.3 (https://github.com/woocommerce/woocommerce-blocks/pull/8031) 2023-02-24 13:08:34 +01:00
Interactivity Interactivity API: Update interactive regions during client-side navigation (https://github.com/woocommerce/woocommerce-blocks/pull/10200) 2023-08-03 10:55:13 +02:00
Payments Checkout - Available Payment Method Filtering (https://github.com/woocommerce/woocommerce-blocks/pull/8441) 2023-03-13 10:29:17 +00:00
Registry Fix PHP 8 error when argument is not invocable in AssetsDataRegistry::add_data (https://github.com/woocommerce/woocommerce-blocks/pull/3315) 2020-10-26 13:28:25 -04:00
Shipping Hide "collection from" text when a location has an incomplete address. (https://github.com/woocommerce/woocommerce-blocks/pull/9808) 2023-07-03 10:10:18 +01:00
StoreApi Add an endpoint for processing pay for order orders (https://github.com/woocommerce/woocommerce-blocks/pull/10287) 2023-07-25 13:00:01 -07:00
Templates Compatibility Layer - Return raw content without hooks if the content is empty (https://github.com/woocommerce/woocommerce-blocks/pull/10453) 2023-08-03 11:01:46 +02:00
Utils Check if WordPress version is higher than 6.2.2 to make Products block compatible with Gutenberg 16+ (https://github.com/woocommerce/woocommerce-blocks/pull/10360) 2023-07-26 15:13:54 +02:00
Assets.php Release: 5.0.0 (https://github.com/woocommerce/woocommerce-blocks/pull/4144) 2021-04-28 17:15:39 +01:00
AssetsController.php Fix: WooCommerce Blocks causing malfunction of the navigation block on WordPress 6.3 (https://github.com/woocommerce/woocommerce-blocks/pull/10388) 2023-07-31 07:03:10 +00:00
BlockPatterns.php Register patterns under `patterns` folder and add filters pattern (https://github.com/woocommerce/woocommerce-blocks/pull/6861) 2022-08-12 13:09:37 +02:00
BlockTemplatesController.php Cart and Checkout Page Migration: Inherit Page template and fix rendering (https://github.com/woocommerce/woocommerce-blocks/pull/10375) 2023-07-27 13:43:26 +01:00
BlockTypesController.php Add Product Gallery Thumbnails block (https://github.com/woocommerce/woocommerce-blocks/pull/10442) 2023-08-02 07:09:51 +00:00
InboxNotifications.php Include Cart and Checkout Blocks when included in WC Core (https://github.com/woocommerce/woocommerce-blocks/pull/6805) 2022-08-15 11:15:15 +05:30
Installer.php Add migration strategy and load blockified templates (https://github.com/woocommerce/woocommerce-blocks/pull/6538) 2022-07-06 09:51:39 +02:00
Library.php Release: 5.0.0 (https://github.com/woocommerce/woocommerce-blocks/pull/4144) 2021-04-28 17:15:39 +01:00
Migration.php improve migration to blockified templates (https://github.com/woocommerce/woocommerce-blocks/pull/10415) 2023-08-02 15:12:05 +02:00
Options.php Add migration strategy and load blockified templates (https://github.com/woocommerce/woocommerce-blocks/pull/6538) 2022-07-06 09:51:39 +02:00
Package.php Port changes from release/10.8.0 branch to trunk 2023-08-03 15:45:50 +05:30