Plugin Directory

Changeset 3085523


Ignore:
Timestamp:
05/13/2024 08:34:16 AM (23 months ago)
Author:
tlamedia
Message:

Update to version 1.22.1 from GitHub

Location:
gtm-kit
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • gtm-kit/tags/1.22.1/gtm-kit.php

    r3082967 r3085523  
    44 *
    55 * Plugin Name: GTM Kit
    6  * Version:     1.22
     6 * Version:     1.22.1
    77 * Plugin URI:  https://gtmkit.com/
    88 * Description: Google Tag Manager implementation focusing on flexibility and pagespeed.
     
    2828}
    2929
    30 const GTMKIT_VERSION = '1.22';
     30const GTMKIT_VERSION = '1.22.1';
    3131
    3232if ( ! defined( 'GTMKIT_FILE' ) ) {
  • gtm-kit/tags/1.22.1/readme.txt

    r3082967 r3085523  
    44Tags: google tag manager, gtm, woocommerce, analytics, ga4
    55Tested up to: 6.5
    6 Stable tag: 1.22
     6Stable tag: 1.22.1
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    8989== Changelog ==
    9090
     91= 1.22.1 =
     92
     93Release date: 2024-05-13
     94
     95#### Bugfixes:
     96- wait_for_update was not printed in Google Consent Mode default settings.
     97
    9198= 1.22 =
    9299
  • gtm-kit/tags/1.22.1/src/Frontend/Frontend.php

    r3082967 r3085523  
    113113                'functionality_storage': '<?php echo ( $this->options->get( 'general', 'gcm_functionality_storage' ) ) ? 'granted' : 'denied'; ?>',
    114114                '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; ?>
    120118            });
    121119            <?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  
    5353
    5454        // 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 );
    5856        \set_transient( 'gtmkit_first_install', true, 300 );
    5957        add_action( 'admin_notices', [ $this, 'show_activation_notice' ] );
  • gtm-kit/trunk/gtm-kit.php

    r3082967 r3085523  
    44 *
    55 * Plugin Name: GTM Kit
    6  * Version:     1.22
     6 * Version:     1.22.1
    77 * Plugin URI:  https://gtmkit.com/
    88 * Description: Google Tag Manager implementation focusing on flexibility and pagespeed.
     
    2828}
    2929
    30 const GTMKIT_VERSION = '1.22';
     30const GTMKIT_VERSION = '1.22.1';
    3131
    3232if ( ! defined( 'GTMKIT_FILE' ) ) {
  • gtm-kit/trunk/readme.txt

    r3082967 r3085523  
    44Tags: google tag manager, gtm, woocommerce, analytics, ga4
    55Tested up to: 6.5
    6 Stable tag: 1.22
     6Stable tag: 1.22.1
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    8989== Changelog ==
    9090
     91= 1.22.1 =
     92
     93Release date: 2024-05-13
     94
     95#### Bugfixes:
     96- wait_for_update was not printed in Google Consent Mode default settings.
     97
    9198= 1.22 =
    9299
  • gtm-kit/trunk/src/Frontend/Frontend.php

    r3082967 r3085523  
    113113                'functionality_storage': '<?php echo ( $this->options->get( 'general', 'gcm_functionality_storage' ) ) ? 'granted' : 'denied'; ?>',
    114114                '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; ?>
    120118            });
    121119            <?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  
    5353
    5454        // 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 );
    5856        \set_transient( 'gtmkit_first_install', true, 300 );
    5957        add_action( 'admin_notices', [ $this, 'show_activation_notice' ] );
Note: See TracChangeset for help on using the changeset viewer.