3a62bf9d94
* 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 |
||
---|---|---|
plugins/woocommerce-blocks |