Plugin Directory

Changeset 3387047


Ignore:
Timestamp:
10/30/2025 12:27:54 PM (5 months ago)
Author:
costasovo
Message:

Tagging version 2.1.19

Location:
woocommerce-google-analytics-integration
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • woocommerce-google-analytics-integration/tags/2.1.19/changelog.txt

    r3370825 r3387047  
    11*** Changelog ***
     2
     3= 2.1.19 - 2025-10-30 =
     4* Fix - Add safe script tag encoding flags to all `wp_json_encode()` calls in inline scripts.
     5* Update - Require WooCommerce 10.2+.
    26
    37= 2.1.18 - 2025-10-01 =
  • woocommerce-google-analytics-integration/tags/2.1.19/includes/class-wc-google-gtag-js.php

    r3225957 r3387047  
    103103                    esc_js( $this->tracker_function_name() ),
    104104                    esc_js( static::DEVELOPER_ID ),
    105                     wp_json_encode( $this->get_consent_modes() ),
    106                     wp_json_encode( $this->get_site_tag_config() )
     105                    wp_json_encode( $this->get_consent_modes(), JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ),
     106                    wp_json_encode( $this->get_site_tag_config(), JSON_HEX_TAG | JSON_UNESCAPED_SLASHES )
    107107                )
    108108            )
     
    163163                        'identifier'            => $this->get( 'ga_product_identifier' ),
    164164                    ),
     165                    JSON_HEX_TAG | JSON_UNESCAPED_SLASHES
    165166                ),
    166167            )
     
    247248     */
    248249    public function get_script_data(): string {
    249         return wp_json_encode( $this->script_data );
     250        return wp_json_encode( $this->script_data, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES );
    250251    }
    251252
  • woocommerce-google-analytics-integration/tags/2.1.19/readme.txt

    r3370825 r3387047  
    44Requires at least: 6.7
    55Tested up to: 6.8
    6 Stable tag: 2.1.18
     6Stable tag: 2.1.19
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    4949== Changelog ==
    5050
     51= 2.1.19 - 2025-10-30 =
     52* Fix - Add safe script tag encoding flags to all `wp_json_encode()` calls in inline scripts.
     53* Update - Require WooCommerce 10.2+.
     54
    5155= 2.1.18 - 2025-10-01 =
    5256* Tweak - Don't throw errors when the product ID is not found for legacy Ajax add-to-cart.
  • woocommerce-google-analytics-integration/tags/2.1.19/woocommerce-google-analytics-integration.php

    r3370825 r3387047  
    66 * Author: WooCommerce
    77 * Author URI: https://woocommerce.com
    8  * Version: 2.1.18
    9  * WC requires at least: 10.1
    10  * WC tested up to: 10.2
     8 * Version: 2.1.19
     9 * WC requires at least: 10.2
     10 * WC tested up to: 10.3
    1111 * Requires at least: 6.7
    1212 * Requires Plugins: woocommerce
     
    2727if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
    2828
    29     define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '2.1.18' ); // WRCS: DEFINED_VERSION.
    30     define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_MIN_WC_VER', '10.1' );
     29    define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '2.1.19' ); // WRCS: DEFINED_VERSION.
     30    define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_MIN_WC_VER', '10.2' );
    3131
    3232    // Maybe show the GA Pro notice on plugin activation.
  • woocommerce-google-analytics-integration/trunk/changelog.txt

    r3370825 r3387047  
    11*** Changelog ***
     2
     3= 2.1.19 - 2025-10-30 =
     4* Fix - Add safe script tag encoding flags to all `wp_json_encode()` calls in inline scripts.
     5* Update - Require WooCommerce 10.2+.
    26
    37= 2.1.18 - 2025-10-01 =
  • woocommerce-google-analytics-integration/trunk/includes/class-wc-google-gtag-js.php

    r3225957 r3387047  
    103103                    esc_js( $this->tracker_function_name() ),
    104104                    esc_js( static::DEVELOPER_ID ),
    105                     wp_json_encode( $this->get_consent_modes() ),
    106                     wp_json_encode( $this->get_site_tag_config() )
     105                    wp_json_encode( $this->get_consent_modes(), JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ),
     106                    wp_json_encode( $this->get_site_tag_config(), JSON_HEX_TAG | JSON_UNESCAPED_SLASHES )
    107107                )
    108108            )
     
    163163                        'identifier'            => $this->get( 'ga_product_identifier' ),
    164164                    ),
     165                    JSON_HEX_TAG | JSON_UNESCAPED_SLASHES
    165166                ),
    166167            )
     
    247248     */
    248249    public function get_script_data(): string {
    249         return wp_json_encode( $this->script_data );
     250        return wp_json_encode( $this->script_data, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES );
    250251    }
    251252
  • woocommerce-google-analytics-integration/trunk/readme.txt

    r3370825 r3387047  
    44Requires at least: 6.7
    55Tested up to: 6.8
    6 Stable tag: 2.1.18
     6Stable tag: 2.1.19
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    4949== Changelog ==
    5050
     51= 2.1.19 - 2025-10-30 =
     52* Fix - Add safe script tag encoding flags to all `wp_json_encode()` calls in inline scripts.
     53* Update - Require WooCommerce 10.2+.
     54
    5155= 2.1.18 - 2025-10-01 =
    5256* Tweak - Don't throw errors when the product ID is not found for legacy Ajax add-to-cart.
  • woocommerce-google-analytics-integration/trunk/woocommerce-google-analytics-integration.php

    r3370825 r3387047  
    66 * Author: WooCommerce
    77 * Author URI: https://woocommerce.com
    8  * Version: 2.1.18
    9  * WC requires at least: 10.1
    10  * WC tested up to: 10.2
     8 * Version: 2.1.19
     9 * WC requires at least: 10.2
     10 * WC tested up to: 10.3
    1111 * Requires at least: 6.7
    1212 * Requires Plugins: woocommerce
     
    2727if ( ! class_exists( 'WC_Google_Analytics_Integration' ) ) {
    2828
    29     define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '2.1.18' ); // WRCS: DEFINED_VERSION.
    30     define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_MIN_WC_VER', '10.1' );
     29    define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_VERSION', '2.1.19' ); // WRCS: DEFINED_VERSION.
     30    define( 'WC_GOOGLE_ANALYTICS_INTEGRATION_MIN_WC_VER', '10.2' );
    3131
    3232    // Maybe show the GA Pro notice on plugin activation.
Note: See TracChangeset for help on using the changeset viewer.