Changeset 3085523
- Timestamp:
- 05/13/2024 08:34:16 AM (23 months ago)
- Location:
- gtm-kit
- Files:
-
- 8 edited
- 1 copied
-
tags/1.22.1 (copied) (copied from gtm-kit/trunk)
-
tags/1.22.1/gtm-kit.php (modified) (2 diffs)
-
tags/1.22.1/readme.txt (modified) (2 diffs)
-
tags/1.22.1/src/Frontend/Frontend.php (modified) (1 diff)
-
tags/1.22.1/src/Installation/Activation.php (modified) (1 diff)
-
trunk/gtm-kit.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Frontend/Frontend.php (modified) (1 diff)
-
trunk/src/Installation/Activation.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gtm-kit/tags/1.22.1/gtm-kit.php
r3082967 r3085523 4 4 * 5 5 * Plugin Name: GTM Kit 6 * Version: 1.22 6 * Version: 1.22.1 7 7 * Plugin URI: https://gtmkit.com/ 8 8 * Description: Google Tag Manager implementation focusing on flexibility and pagespeed. … … 28 28 } 29 29 30 const GTMKIT_VERSION = '1.22 ';30 const GTMKIT_VERSION = '1.22.1'; 31 31 32 32 if ( ! defined( 'GTMKIT_FILE' ) ) { -
gtm-kit/tags/1.22.1/readme.txt
r3082967 r3085523 4 4 Tags: google tag manager, gtm, woocommerce, analytics, ga4 5 5 Tested up to: 6.5 6 Stable tag: 1.22 6 Stable tag: 1.22.1 7 7 License: GPLv3 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 89 89 == Changelog == 90 90 91 = 1.22.1 = 92 93 Release date: 2024-05-13 94 95 #### Bugfixes: 96 - wait_for_update was not printed in Google Consent Mode default settings. 97 91 98 = 1.22 = 92 99 -
gtm-kit/tags/1.22.1/src/Frontend/Frontend.php
r3082967 r3085523 113 113 'functionality_storage': '<?php echo ( $this->options->get( 'general', 'gcm_functionality_storage' ) ) ? 'granted' : 'denied'; ?>', 114 114 'security_storage': '<?php echo ( $this->options->get( 'general', 'gcm_security_storage' ) ) ? 'granted' : 'denied'; ?>', 115 <?php 116 if ( $this->options->get( 'general', 'gcm_wait_for_update' ) ) { 117 echo esc_html( (int) $this->options->get( 'general', 'gcm_ad_personalization' ) ); 118 } 119 ?> 115 <?php if ( $this->options->get( 'general', 'gcm_wait_for_update' ) ) : ?> 116 'wait_for_update': <?php echo esc_html( (int) $this->options->get( 'general', 'gcm_wait_for_update' ) ); ?> 117 <?php endif; ?> 120 118 }); 121 119 <?php echo ( $this->options->get( 'general', 'gcm_ads_data_redaction' ) ) ? 'gtag("set", "ads_data_redaction", true);' : ''; ?> -
gtm-kit/tags/1.22.1/src/Installation/Activation.php
r3055017 r3085523 53 53 54 54 // Add transient to trigger redirect to the Setup Wizard. 55 if ( ! defined( 'GTMKIT_WOO_FILE' ) ) { 56 \set_transient( 'gtmkit_activation_redirect', true, 30 ); 57 } 55 \set_transient( 'gtmkit_activation_redirect', true, 30 ); 58 56 \set_transient( 'gtmkit_first_install', true, 300 ); 59 57 add_action( 'admin_notices', [ $this, 'show_activation_notice' ] ); -
gtm-kit/trunk/gtm-kit.php
r3082967 r3085523 4 4 * 5 5 * Plugin Name: GTM Kit 6 * Version: 1.22 6 * Version: 1.22.1 7 7 * Plugin URI: https://gtmkit.com/ 8 8 * Description: Google Tag Manager implementation focusing on flexibility and pagespeed. … … 28 28 } 29 29 30 const GTMKIT_VERSION = '1.22 ';30 const GTMKIT_VERSION = '1.22.1'; 31 31 32 32 if ( ! defined( 'GTMKIT_FILE' ) ) { -
gtm-kit/trunk/readme.txt
r3082967 r3085523 4 4 Tags: google tag manager, gtm, woocommerce, analytics, ga4 5 5 Tested up to: 6.5 6 Stable tag: 1.22 6 Stable tag: 1.22.1 7 7 License: GPLv3 8 8 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 89 89 == Changelog == 90 90 91 = 1.22.1 = 92 93 Release date: 2024-05-13 94 95 #### Bugfixes: 96 - wait_for_update was not printed in Google Consent Mode default settings. 97 91 98 = 1.22 = 92 99 -
gtm-kit/trunk/src/Frontend/Frontend.php
r3082967 r3085523 113 113 'functionality_storage': '<?php echo ( $this->options->get( 'general', 'gcm_functionality_storage' ) ) ? 'granted' : 'denied'; ?>', 114 114 'security_storage': '<?php echo ( $this->options->get( 'general', 'gcm_security_storage' ) ) ? 'granted' : 'denied'; ?>', 115 <?php 116 if ( $this->options->get( 'general', 'gcm_wait_for_update' ) ) { 117 echo esc_html( (int) $this->options->get( 'general', 'gcm_ad_personalization' ) ); 118 } 119 ?> 115 <?php if ( $this->options->get( 'general', 'gcm_wait_for_update' ) ) : ?> 116 'wait_for_update': <?php echo esc_html( (int) $this->options->get( 'general', 'gcm_wait_for_update' ) ); ?> 117 <?php endif; ?> 120 118 }); 121 119 <?php echo ( $this->options->get( 'general', 'gcm_ads_data_redaction' ) ) ? 'gtag("set", "ads_data_redaction", true);' : ''; ?> -
gtm-kit/trunk/src/Installation/Activation.php
r3055017 r3085523 53 53 54 54 // Add transient to trigger redirect to the Setup Wizard. 55 if ( ! defined( 'GTMKIT_WOO_FILE' ) ) { 56 \set_transient( 'gtmkit_activation_redirect', true, 30 ); 57 } 55 \set_transient( 'gtmkit_activation_redirect', true, 30 ); 58 56 \set_transient( 'gtmkit_first_install', true, 300 ); 59 57 add_action( 'admin_notices', [ $this, 'show_activation_notice' ] );
Note: See TracChangeset
for help on using the changeset viewer.