Plugin Directory

Changeset 3234550


Ignore:
Timestamp:
02/04/2025 09:38:44 AM (11 months ago)
Author:
MooveAgency
Message:

Version 4.15.9 released

Location:
gdpr-cookie-compliance
Files:
145 added
7 edited

Legend:

Unmodified
Added
Removed
  • gdpr-cookie-compliance/trunk/class-gdpr-modules.php

    r3228041 r3234550  
    326326        $data->wpml_lang       = $wpml_lang;
    327327        $data->tab_title       = esc_attr( $tab_title );
    328         $data->tab_content     = wpautop( $tab_content );
     328        $data->tab_content     = wp_kses_post( wpautop( $tab_content ) );
    329329        $data->show            = isset( $modal_options['moove_gdpr_third_party_cookies_enable'] ) && 1 === intval( $modal_options['moove_gdpr_third_party_cookies_enable'] ) ? true : false;
    330330        $data->is_checked      = 1 !== $strictly ? '' : 'disabled';
  • gdpr-cookie-compliance/trunk/class-moove-gdpr-actions.php

    r3174205 r3234550  
    146146                    'desc'              => 'Compatibility for GTM4WP',
    147147                    'cookie_cat'    => isset( $gdin_values['gtm4wp'] ) ? intval( $gdin_values['gtm4wp'] ) : 2,
    148                     'tacking_id'    => isset(  $storedoptions['gtm-code'] ) && $storedoptions['gtm-code'] ? $storedoptions['gtm-code'] : '',
     148                    'tacking_id'    => isset(  $storedoptions['gtm-code'] ) && $storedoptions['gtm-code'] ? esc_attr( $storedoptions['gtm-code'] ) : '',
    149149                    'id_format'     => 'G-XXXXXXX',
    150150                    'atts'              => array(
  • gdpr-cookie-compliance/trunk/class-moove-gdpr-content.php

    r3045086 r3234550  
    5252                ?>
    5353                <!-- Google tag (gtag.js) -->
    54                 <script src="https://www.googletagmanager.com/gtag/js?id=<?php echo $_gdin_module['tacking_id']; ?>" data-type="gdpr-integration"></script>
     54                <script src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>" data-type="gdpr-integration"></script>
    5555                <script data-type="gdpr-integration">
    5656                  window.dataLayer = window.dataLayer || [];
     
    5858                  gtag('js', new Date());
    5959
    60                   gtag('config', '<?php echo $_gdin_module['tacking_id']; ?>');
     60                  gtag('config', '<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>');
    6161                </script>
    6262                <?php
     
    7474                ?>
    7575                <!-- Google tag (gtag.js) - Google Analytics 4 -->
    76                 <script src="https://www.googletagmanager.com/gtag/js?id=<?php echo $_gdin_module['tacking_id']; ?>" data-type="gdpr-integration"></script>
     76                <script src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>" data-type="gdpr-integration"></script>
    7777                <script data-type="gdpr-integration">
    7878                  window.dataLayer = window.dataLayer || [];
     
    8080                  gtag('js', new Date());
    8181
    82                   gtag('config', '<?php echo $_gdin_module['tacking_id']; ?>');
     82                  gtag('config', '<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>');
    8383                </script>
    8484                <?php
     
    100100                j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    101101                'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    102                 })(window,document,'script','dataLayer','<?php echo $_gdin_module['tacking_id']; ?>');</script>
     102                })(window,document,'script','dataLayer','<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>');</script>
    103103                <!-- End Google Tag Manager -->
    104104                <?php
     
    107107                ?>
    108108                <!-- Google Tag Manager (noscript) -->
    109                 <noscript data-type="gdpr-integration"><iframe src="https://www.googletagmanager.com/ns.html?id=<?php echo $_gdin_module['tacking_id']; ?>"
     109                <noscript data-type="gdpr-integration"><iframe src="https://www.googletagmanager.com/ns.html?id=<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>"
    110110                height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    111111                <!-- End Google Tag Manager (noscript) -->
     
    149149                j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    150150                'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    151                 })(window,document,'script','dataLayer','<?php echo $gdin_modules['gtmc2']['tacking_id']; ?>');</script>
     151                })(window,document,'script','dataLayer','<?php echo esc_attr( $gdin_modules['gtmc2']['tacking_id'] ); ?>');</script>
    152152                <!-- End Google Tag Manager -->
    153153            <?php
     
    191191                ?>
    192192                <!-- Global site tag (gtag.js) - Google Ads -->
    193                 <script type="text/javascript" data-type="gdpr-integration" src="https://www.googletagmanager.com/gtag/js?id=<?php echo $_gdin_module['tacking_id']; ?>"></script>
     193                <script type="text/javascript" data-type="gdpr-integration" src="https://www.googletagmanager.com/gtag/js?id=<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>"></script>
    194194                <script data-type="gdpr-integration">
    195195                  window.dataLayer = window.dataLayer || [];
     
    197197                  gtag('js', new Date());
    198198
    199                   gtag('config', '<?php echo $_gdin_module['tacking_id']; ?>');
     199                  gtag('config', '<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>');
    200200                </script>
    201201                <!-- End Google Ads -->
     
    223223                  s.parentNode.insertBefore(t,s)}(window, document,'script',
    224224                  'https://connect.facebook.net/en_US/fbevents.js');
    225                   fbq('init', '<?php echo $_gdin_module['tacking_id']; ?>');
     225                  fbq('init', '<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>');
    226226                  fbq('track', 'PageView');
    227227                </script>
     
    232232                <noscript data-type="gdpr-integration">
    233233                  <img height="1" width="1" style="display:none"
    234                        src="https://www.facebook.com/tr?id=<?php echo $_gdin_module['tacking_id']; ?>&ev=PageView&noscript=1"/>
     234                       src="https://www.facebook.com/tr?id=<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>&ev=PageView&noscript=1"/>
    235235                </noscript>
    236236                <!-- End Facebook Pixel Code -->
     
    245245        if ( defined('GTM4WP_OPTIONS') && defined ( 'GTM4WP_OPTION_GTM_PLACEMENT' ) && defined ( 'GTM4WP_PLACEMENT_OFF' ) ) :
    246246      $storedoptions = (array) get_option( GTM4WP_OPTIONS );
     247        $gtm4wp_container_code_written = false;
    247248            if ( ( isset( $storedoptions[GTM4WP_OPTION_GTM_PLACEMENT] ) && $storedoptions[GTM4WP_OPTION_GTM_PLACEMENT] === GTM4WP_PLACEMENT_OFF ) && isset( $_gdin_module['tacking_id'] ) && $_gdin_module['tacking_id'] && intval( $_gdin_module['cookie_cat'] ) ) :
    248249                $cookie_cat_n = intval( $_gdin_module['cookie_cat'] ) === 2 ? 'thirdparty' : ( intval( $_gdin_module['cookie_cat'] ) === 3 ? 'advanced' : '' );
     
    255256                    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    256257                    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    257                     })(window,document,'script','dataLayer','<?php echo $_gdin_module['tacking_id']; ?>');</script>
     258                    })(window,document,'script','dataLayer','<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>');</script>
    258259                    <!-- End Google Tag Manager -->
    259260                    <?php
     
    262263                    ?>
    263264                    <!-- Google Tag Manager (noscript) -->
    264                     <noscript data-type="gdpr-integration"><iframe src="https://www.googletagmanager.com/ns.html?id=<?php echo $_gdin_module['tacking_id']; ?>"
     265                    <noscript data-type="gdpr-integration"><iframe src="https://www.googletagmanager.com/ns.html?id=<?php echo esc_attr( $_gdin_module['tacking_id'] ); ?>"
    265266                    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    266267                    <!-- End Google Tag Manager (noscript) -->
  • gdpr-cookie-compliance/trunk/moove-gdpr.php

    r3232732 r3234550  
    55 *  Plugin URI: https://wordpress.org/plugins/gdpr-cookie-compliance/
    66 *  Description: Our plugin is useful in preparing your site for the following data protection and privacy regulations: GDPR, CCPA, PIPEDA, AAP, LGPD and others.
    7  *  Version: 4.15.8
     7 *  Version: 4.15.9
    88 *  Author: Moove Agency
    99 *  Domain Path: /languages
     
    1919} // Exit if accessed directly
    2020
    21 define( 'MOOVE_GDPR_VERSION', '4.15.8' );
     21define( 'MOOVE_GDPR_VERSION', '4.15.9' );
    2222if ( ! defined( 'MOOVE_SHOP_URL' ) ) :
    2323    define( 'MOOVE_SHOP_URL', 'https://shop.mooveagency.com' );
  • gdpr-cookie-compliance/trunk/readme.txt

    r3232732 r3234550  
    33Donate link: https://www.mooveagency.com/wordpress-plugins/gdpr-cookie-compliance/
    44Tags: GDPR, CCPA, DSGVO, CPRA, RGPD
    5 Stable tag: 4.15.8
     5Stable tag: 4.15.9
    66Requires at least: 4.5
    77Tested up to: 6.7
     
    270270
    271271== Changelog ==
     272= 4.15.9: 4 February 2025 =
     273* Minor fixes and security improvements
     274
    272275= 4.15.8: 31 January 2025 =
    273276* Minor CSS fix in settings screen
  • gdpr-cookie-compliance/trunk/views/moove/admin/settings/integrations.php

    r3174205 r3234550  
    125125                          <td>
    126126                            <div class="gdpr-conditional-field" data-dependency="#gdpr_integrations_<?php echo $_gdin_module_slug; ?>">
    127                               <input type="text" class="regular-text" <?php echo isset( $_gdin_module['atts'] ) && isset( $_gdin_module['atts']['input'] ) ? $_gdin_module['atts']['input'] : ''; ?> name="gdpr_integrations_<?php echo $_gdin_module_slug; ?>_id" placeholder="<?php echo $_gdin_module['id_format']; ?>" value="<?php echo isset( $_gdin_module['tacking_id'] ) && $_gdin_module['tacking_id'] ? $_gdin_module['tacking_id'] : ''; ?>">
     127                              <input type="text" class="regular-text" <?php echo isset( $_gdin_module['atts'] ) && isset( $_gdin_module['atts']['input'] ) ? $_gdin_module['atts']['input'] : ''; ?> name="gdpr_integrations_<?php echo $_gdin_module_slug; ?>_id" placeholder="<?php echo $_gdin_module['id_format']; ?>" value="<?php echo isset( $_gdin_module['tacking_id'] ) && $_gdin_module['tacking_id'] ? esc_attr( $_gdin_module['tacking_id'] ) : ''; ?>">
    128128                              <?php if ( isset( $_gdin_module['atts'] ) && isset( $_gdin_module['atts']['input'] ) && 'disabled' === $_gdin_module['atts']['input'] ) : ?>
    129                                 <input type="hidden" name="gdpr_integrations_<?php echo $_gdin_module_slug; ?>_id" value="<?php echo isset( $_gdin_module['tacking_id'] ) && $_gdin_module['tacking_id'] ? $_gdin_module['tacking_id'] : ''; ?>">
     129                                <input type="hidden" name="gdpr_integrations_<?php echo $_gdin_module_slug; ?>_id" value="<?php echo isset( $_gdin_module['tacking_id'] ) && $_gdin_module['tacking_id'] ? esc_attr( $_gdin_module['tacking_id'] ) : ''; ?>">
    130130                              <?php endif; ?>
    131131                            </div>
  • gdpr-cookie-compliance/trunk/views/moove/admin/settings/third-party-cookies.php

    r2742223 r3234550  
    4444
    4545                if ( 'moove_gdpr_performance_cookies_tab_content' === $form_key ) :
    46                     $value                                  = wp_unslash( $form_value );
     46                    $value                                  = wp_kses_post( wp_unslash( $form_value ) );
    4747                    $gdpr_options[ $form_key . $wpml_lang ] = $value;
    4848                    update_option( $option_name, $gdpr_options );
     
    142142                            'editor_height' => 150,
    143143                        );
    144                         wp_editor( $content, 'moove_gdpr_performance_cookies_tab_content', $settings );
     144                        wp_editor( wp_kses_post( $content ), 'moove_gdpr_performance_cookies_tab_content', $settings );
    145145                    ?>
    146146                </th>
Note: See TracChangeset for help on using the changeset viewer.