Plugin Directory

Changeset 3302726


Ignore:
Timestamp:
05/29/2025 07:41:01 AM (9 months ago)
Author:
cookiebot
Message:

Releasing version 4.5.8

Location:
cookiebot/trunk
Files:
2 added
9 edited

Legend:

Unmodified
Added
Removed
  • cookiebot/trunk/assets/css/backend/cookiebot_admin_main.css

    r3284229 r3302726  
    9696    -webkit-mask-image: url(../../img/icons/dashboard.svg);
    9797    mask-image: url(../../img/icons/dashboard.svg);
     98}
     99
     100.customize-icon {
     101    -webkit-mask-image: url(../../img/icons/customize.svg);
     102    mask-image: url(../../img/icons/customize.svg);
    98103}
    99104
  • cookiebot/trunk/assets/img/icons/settings.svg

    r2826913 r3302726  
    1 <svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
    2 <path d="M0.5 14V16H6.5V14H0.5ZM0.5 2V4H10.5V2H0.5ZM10.5 18V16H18.5V14H10.5V12H8.5V18H10.5ZM4.5 6V8H0.5V10H4.5V12H6.5V6H4.5ZM18.5 10V8H8.5V10H18.5ZM12.5 6H14.5V4H18.5V2H14.5V0H12.5V6Z" fill="#141414"/>
     1<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
     2<path d="M19.9322 12.98C19.9722 12.66 20.0022 12.34 20.0022 12C20.0022 11.66 19.9722 11.34 19.9322 11.02L22.0422 9.37C22.2322 9.22 22.2822 8.95 22.1622 8.73L20.1622 5.27C20.0722 5.11 19.9022 5.02 19.7222 5.02C19.6622 5.02 19.6022 5.03 19.5522 5.05L17.0622 6.05C16.5422 5.65 15.9822 5.32 15.3722 5.07L14.9922 2.42C14.9622 2.18 14.7522 2 14.5022 2H10.5022C10.2522 2 10.0422 2.18 10.0122 2.42L9.6322 5.07C9.0222 5.32 8.4622 5.66 7.9422 6.05L5.4522 5.05C5.3922 5.03 5.3322 5.02 5.2722 5.02C5.1022 5.02 4.9322 5.11 4.8422 5.27L2.8422 8.73C2.7122 8.95 2.7722 9.22 2.9622 9.37L5.0722 11.02C5.0322 11.34 5.0022 11.67 5.0022 12C5.0022 12.33 5.0322 12.66 5.0722 12.98L2.9622 14.63C2.7722 14.78 2.7222 15.05 2.8422 15.27L4.8422 18.73C4.9322 18.89 5.1022 18.98 5.2822 18.98C5.3422 18.98 5.4022 18.97 5.4522 18.95L7.9422 17.95C8.4622 18.35 9.0222 18.68 9.6322 18.93L10.0122 21.58C10.0422 21.82 10.2522 22 10.5022 22H14.5022C14.7522 22 14.9622 21.82 14.9922 21.58L15.3722 18.93C15.9822 18.68 16.5422 18.34 17.0622 17.95L19.5522 18.95C19.6122 18.97 19.6722 18.98 19.7322 18.98C19.9022 18.98 20.0722 18.89 20.1622 18.73L22.1622 15.27C22.2822 15.05 22.2322 14.78 22.0422 14.63L19.9322 12.98ZM17.9522 11.27C17.9922 11.58 18.0022 11.79 18.0022 12C18.0022 12.21 17.9822 12.43 17.9522 12.73L17.8122 13.86L18.7022 14.56L19.7822 15.4L19.0822 16.61L17.8122 16.1L16.7722 15.68L15.8722 16.36C15.4422 16.68 15.0322 16.92 14.6222 17.09L13.5622 17.52L13.4022 18.65L13.2022 20H11.8022L11.4522 17.52L10.3922 17.09C9.9622 16.91 9.5622 16.68 9.1622 16.38L8.2522 15.68L7.1922 16.11L5.9222 16.62L5.2222 15.41L6.3022 14.57L7.1922 13.87L7.0522 12.74C7.0222 12.43 7.0022 12.2 7.0022 12C7.0022 11.8 7.0222 11.57 7.0522 11.27L7.1922 10.14L6.3022 9.44L5.2222 8.6L5.9222 7.39L7.1922 7.9L8.2322 8.32L9.1322 7.64C9.5622 7.32 9.9722 7.08 10.3822 6.91L11.4422 6.48L11.6022 5.35L11.8022 4H13.1922L13.5422 6.48L14.6022 6.91C15.0322 7.09 15.4322 7.32 15.8322 7.62L16.7422 8.32L17.8022 7.89L19.0722 7.38L19.7722 8.59L18.7022 9.44L17.8122 10.14L17.9522 11.27ZM12.5022 8C10.2922 8 8.5022 9.79 8.5022 12C8.5022 14.21 10.2922 16 12.5022 16C14.7122 16 16.5022 14.21 16.5022 12C16.5022 9.79 14.7122 8 12.5022 8ZM12.5022 14C11.4022 14 10.5022 13.1 10.5022 12C10.5022 10.9 11.4022 10 12.5022 10C13.6022 10 14.5022 10.9 14.5022 12C14.5022 13.1 13.6022 14 12.5022 14Z" fill="#141414"/>
    33</svg>
  • cookiebot/trunk/readme.txt

    r3298638 r3302726  
    201201**Cookiebot CMP Plugin will soon no longer support PHP 5. If your website still runs on this version we recommend upgrading so you can continue enjoying the features Cookiebot CMP offers.**
    202202
     203### 4.5.8 ###
     204Release date: May 29th 2025
     205
     206Cookiebot CMP version 4.5.8 is out! This release has some new features and bugfixes
     207
     208####What's new####
     209
     210* Improved "Get started" page to highlight free banner activation
     211* Updated “Your banner is live” message to be clearer and more helpful
     212
     213####Bugfixes####
     214
     215* Resolved a line break issue in the Google Consent Mode script
     216* Fixed loading order for the WP Consent API script to ensure proper functionality
     217
    203218### 4.5.7 ###
    204 Release date: May 22nd 2025
     219Release date: May 22th 2025
    205220
    206221Cookiebot CMP version 4.5.7 is out! This release has some bugfixes
  • cookiebot/trunk/src/lib/Consent_API_Helper.php

    r3230472 r3302726  
    5252            'cookiebot-wp-consent-level-api-integration',
    5353            $is_cb_frame ? asset_url( self::CB_FRAME_SCRIPT_PATH ) : asset_url( self::UC_FRAME_SCRIPT_PATH ),
    54             null,
     54            array( 'wp-consent-api' ),
    5555            Cookiebot_WP::COOKIEBOT_PLUGIN_VERSION,
    5656            false
  • cookiebot/trunk/src/view/admin/common/dashboard-page-session-expired.php

    r3289355 r3302726  
    2929                    <div class="header-section-no-margin">
    3030                        <img src="<?php echo \esc_url( CYBOT_COOKIEBOT_PLUGIN_URL . 'assets/img/icons/set-up-icon.svg' ); ?>" alt="Usercentrics Logo">
    31                         <h1><?php echo \esc_html__( 'Set up your consent banner', 'cookiebot' ); ?></h1>
     31                        <h1><?php echo \esc_html__( 'Set up your cookie banner', 'cookiebot' ); ?></h1>
    3232                    </div>
    3333                    <div class="header-section">
    3434                        <p class="subtitle">
    35                                 <?php echo esc_html__( 'Get your site GDPR-compliant in', 'cookiebot' ); ?>
     35                                <?php echo esc_html__( 'Get your site GDPR-compliant in ', 'cookiebot' ); ?>
    3636                                <strong><?php echo esc_html__( 'just a few clicks.', 'cookiebot' ); ?></strong>
    3737                                <?php echo esc_html__( 'Enter your email, verify it, and create your password.', 'cookiebot' ); ?>
     
    5757                                    <div class="divider"></div>
    5858                                    <p class="step-description">
    59                                             <?php
    60                                             echo wp_kses(
    61                                                 __( 'Instant setup with automatic cookie blocking. Try all features free for 14 days - no credit card needed.<br> Choose Free or Premium before your trial ends to stay live.', 'cookiebot' ),
    62                                                 array(
    63                                                     'strong' => array(),
    64                                                     'br' => array(),
    65                                                 )
    66                                             );
    67                                             ?>
    68                                         </p>
     59                                        • Instant setup & automatic cookie blocking<br>
     60                                        • 14 days of all-access premium features (no card needed)<br>
     61                                        • Keep it live afterwards on our Free plan or upgrade any time
     62                                    </p>
    6963                                    <div class="banner-images">
    7064                                        <?php
  • cookiebot/trunk/src/view/admin/common/dashboard-page.php

    r3298601 r3302726  
    7979                        <p>
    8080                            <?php
    81                             echo esc_html__( 'Stay live after your trial by choosing a Free or Premium plan.', 'cookiebot' );
     81                            echo esc_html__( 'Choose your plan to stay live: pick our Free plan or upgrade to Premium for full control.', 'cookiebot' );
    8282                            ?>
    8383                            <!-- <a href="https://account.usercentrics.eu/subscription/<?php echo isset( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) ? esc_attr( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) . '/' : ''; ?>manage" target="_blank" style="text-decoration: underline; color: inherit;" onclick="window.trackAmplitudeEvent('Choose Plan Link Clicked', { price_plan: '<?php echo esc_js( $template_args['user_data']['subscriptions']['active']['price_plan'] ? $template_args['user_data']['subscriptions']['active']['price_plan'] : '' ); ?>', account_id: '<?php echo esc_js( $template_args['cbid'] ); ?>' });"><?php echo esc_html__( 'Choose plan', 'cookiebot' ); ?></a> -->
     
    107107                    <div class="header-section-no-margin">
    108108                        <img src="<?php echo \esc_url( CYBOT_COOKIEBOT_PLUGIN_URL . 'assets/img/icons/set-up-icon.svg' ); ?>" alt="Usercentrics Logo">
    109                         <h1><?php echo \esc_html__( 'Set up your consent banner', 'cookiebot' ); ?></h1>
     109                        <h1><?php echo \esc_html__( 'Set up your cookie banner', 'cookiebot' ); ?></h1>
    110110                    </div>
    111111                    <div class="header-section">
     112                        <?php if ( empty( $template_args['user_data'] ) ) : ?>
    112113                        <p class="subtitle">
    113114                            <?php echo esc_html__( 'Get your site GDPR-compliant in', 'cookiebot' ); ?>
     
    115116                            <?php echo esc_html__( 'Enter your email, verify it, and create your password.', 'cookiebot' ); ?>
    116117                        </p>
     118                        <?php endif; ?>
    117119                    </div>
    118120
     
    127129                                    </div>
    128130                                    <div class="step-content">
    129                                         <h2><?php echo \esc_html__( 'Get your banner live in seconds', 'cookiebot' ); ?></h2>
     131                                        <h2><?php echo \esc_html__( 'Activate your banner', 'cookiebot' ); ?></h2>
    130132                                    </div>
    131133                                    <span class="done-status">Done!</span>
     
    144146                                    <div class="divider"></div>
    145147                                    <p class="step-description">
    146                                         <?php
    147                                         echo wp_kses(
    148                                             __( 'Instant setup with automatic cookie blocking. Try all features free for 14 days - no credit card needed.<br> Choose Free or Premium before your trial ends to stay live.', 'cookiebot' ),
    149                                             array(
    150                                                 'strong' => array(),
    151                                                 'br'     => array(),
    152                                             )
    153                                         );
    154                                         ?>
     148                                        • Instant setup & automatic cookie blocking<br>
     149                                        • 14 days of all-access premium features (no card needed)<br>
     150                                        • Keep it live afterwards on our Free plan or upgrade any time
    155151                                    </p>
    156152                                    <div class="banner-images">
     
    169165                                    <div class="activate-container">
    170166                                        <button id="get-started-button" class="cb-btn cb-primary-btn cb-get-started-btn">
    171                                             <?php echo esc_html__( 'Get Started', 'cookiebot' ); ?>
     167                                            <?php echo esc_html__( 'Activate free banner', 'cookiebot' ); ?>
    172168                                        </button>
    173169                                        <img src="<?php echo \esc_url( $arrow_url ); ?>"
     
    202198                                    </div>
    203199                                    <div class="step-content">
    204                                         <h2><?php echo \esc_html__( 'Scan website', 'cookiebot' ); ?></h2>
     200                                        <h2><?php echo \esc_html__( 'Scan your website', 'cookiebot' ); ?></h2>
    205201                                    </div>
    206202                                    <div class="step-status">
     
    270266                                    </div>
    271267                                    <div class="step-content">
    272                                         <h2><?php echo \esc_html__( 'Upgrade your plan', 'cookiebot' ); ?></h2>
     268                                        <h2><?php echo \esc_html__( 'Choose your plan', 'cookiebot' ); ?></h2>
    273269                                    </div>
    274270                                    <div class="step-status">
     
    318314                                            <?php if ( Cookiebot_WP::is_in_trial() && ! $trial_expired ) : ?>
    319315                                                <img src="<?php echo \esc_url( CYBOT_COOKIEBOT_PLUGIN_URL . 'assets/img/icons/clock-icon-blue.svg' ); ?>" alt="Clock Icon">
    320                                                 <p class="step-message"><strong>Your trial ends in</strong> <span class="days-highlight"><?php echo absint( Cookiebot_WP::get_trial_days_left() ); ?> days</span>.</p>
     316                                                <p class="step-message"><strong>Enjoy all Premium features for</strong> <span class="days-highlight"><?php echo absint( Cookiebot_WP::get_trial_days_left() ); ?> days</span>.</p>
    321317                                            <?php endif; ?>
    322318                                        </div>
    323319
    324                                         <p class="step-message">Upgrade to get full access to premium features. <br> Premium includes:</p>
     320                                        <p class="step-message">Remember to choose a Free or Premium plan to keep your banner live. Premium includes:</p>
    325321
    326322                                        <ul class="upgrade-features">
     
    332328                                        <div class="upgrade-container">
    333329                                            <button id="upgrade-now-button" class="cb-btn cb-primary-btn" onclick="/* window.trackAmplitudeEvent('Bottom Upgrade Now Clicked', { settingsId: '<?php echo esc_js( $template_args['cbid'] ); ?>', account_id: '<?php echo esc_js( $template_args['cbid'] ); ?>' }); */ window.open('https://account.usercentrics.eu/subscription/<?php echo isset( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) ? esc_attr( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) . '/' : ''; ?>manage', '_blank')">
    334                                                 <?php echo esc_html__( 'Upgrade now', 'cookiebot' ); ?>
     330                                                <?php echo esc_html__( 'Choose my plan', 'cookiebot' ); ?>
    335331                                            </button>
    336332                                        </div>
  • cookiebot/trunk/src/view/admin/common/dashboard-trial-expired.php

    r3270515 r3302726  
    4646                    <div class="header-section-no-margin">
    4747                        <img src="<?php echo \esc_url( CYBOT_COOKIEBOT_PLUGIN_URL . 'assets/img/icons/set-up-icon.svg' ); ?>" alt="Setup Icon">
    48                         <h1><?php echo \esc_html__( 'Set up your consent banner', 'cookiebot' ); ?></h1>
     48                        <h1><?php echo \esc_html__( 'Set up your cookie banner', 'cookiebot' ); ?></h1>
    4949                    </div>
    5050
     
    7171                                </div>
    7272                                <div class="step-content">
    73                                     <h2><?php echo \esc_html__( 'Scan website', 'cookiebot' ); ?></h2>
     73                                    <h2><?php echo \esc_html__( 'Scan your website', 'cookiebot' ); ?></h2>
    7474                                </div>
    7575                            </div>
     
    108108                                <div class="upgrade-container">
    109109                                    <button id="upgrade-now-button" class="cb-btn cb-primary-btn" onclick="window.open('https://account.usercentrics.eu/subscription/<?php echo isset( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) ? esc_attr( $template_args['user_data']['subscriptions']['active']['subscription_id'] ) . '/' : ''; ?>manage', '_blank')">
    110                                         <?php echo esc_html__( 'Upgrade now', 'cookiebot' ); ?>
     110                                        <?php echo esc_html__( 'Choose my plan', 'cookiebot' ); ?>
    111111                                    </button>
    112112                                </div>
  • cookiebot/trunk/src/view/admin/common/templates/main-tabs.php

    r3289355 r3302726  
    2727                class="cb-main__tabs__link">
    2828                <div class="cb-main__tabs__icon dashboard-icon"></div>
    29                 <span><?php esc_html_e( 'Dashboard', 'cookiebot' ); ?></span>
     29                <span><?php esc_html_e( 'View dashboard', 'cookiebot' ); ?></span>
     30            </a>
     31        </div>
     32    <?php endif; ?>
     33
     34    <?php if ( ! empty( $cbid ) ) : ?>
     35        <div class="cb-main__tabs_item <?php echo $active_tab === 'customize' ? 'active-item' : ''; ?>">
     36            <a href="https://admin.usercentrics.eu/#/v3/appearance/styling?settingsId=<?php echo esc_attr( $cbid ); ?>"
     37                class="cb-main__tabs__link" target="_blank">
     38                <div class="cb-main__tabs__icon customize-icon"></div>
     39                <span><?php esc_html_e( 'Customize banner', 'cookiebot' ); ?></span>
    3040            </a>
    3141        </div>
     
    4151                <?php endif; ?>
    4252                <div class="cb-main__tabs__icon support-icon"></div>
    43                 <span><?php esc_html_e( 'Support', 'cookiebot' ); ?></span>
     53                <span><?php esc_html_e( 'Get support', 'cookiebot' ); ?></span>
    4454            </a>
    4555    </div>
     
    4959                class="cb-main__tabs__link">
    5060                <div class="cb-main__tabs__icon plugins-icon"></div>
    51                 <span><?php esc_html_e( 'Plugins', 'cookiebot' ); ?></span>
     61                <span><?php esc_html_e( 'Manage add-ons', 'cookiebot' ); ?></span>
    5262            </a>
    5363        </div>
     
    6474                    <?php endif; ?>
    6575                    <div class="cb-main__tabs__icon settings-icon"></div>
    66                     <span><?php esc_html_e( 'Settings', 'cookiebot' ); ?></span>
     76                    <span><?php esc_html_e( 'Configure settings', 'cookiebot' ); ?></span>
    6777                </a>
    6878        </div>
     
    7080
    7181    <div class="cb-feedback_link">
    72         <a href="<?php echo esc_url( $feedback_url ); ?>" target="_blank"><?php echo esc_html__( 'Share feedback', 'cookiebot' ); ?></a>
     82        <a href="<?php echo esc_url( $feedback_url ); ?>" target="_blank"><?php echo esc_html__( 'Help us improve', 'cookiebot' ); ?></a>
    7383    </div>
    7484
  • cookiebot/trunk/src/view/frontend/scripts/common/google-consent-mode-js.php

    r3230472 r3302726  
    1212
    1313    function gtag() {
    14         <?php echo esc_js( $data_layer ); ?>.
    15         push(arguments);
     14        <?php echo esc_js( $data_layer ); ?>.push(arguments);
    1615    }
    1716
    1817    gtag("consent", "default", {
    19         ad_user_data: "denied",
    2018        ad_personalization: "denied",
    2119        ad_storage: "denied",
     20        ad_user_data: "denied",
    2221        analytics_storage: "denied",
    2322        functionality_storage: "denied",
Note: See TracChangeset for help on using the changeset viewer.