Skip to content

Commit

Permalink
Merge pull request #310 from CybotAS/url-passthrough
Browse files Browse the repository at this point in the history
Url passthrough disabled by default
  • Loading branch information
UCjatamayo authored Sep 26, 2023
2 parents 00436dc + a47cc2a commit 34d3e8b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cookiebot.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Plugin URI: https://www.cookiebot.com/
Description: The Cookiebot CMP WordPress cookie banner and cookie policy help you comply with the major data protection laws (GDPR, ePrivacy, CCPA, LGPD, etc.) in a simple and fully automated way. Secure your website and get peace of mind.
Author: Usercentrics A/S
Version: 4.3.0
Version: 4.3.1
Author URI: https://www.cookiebot.com/
Text Domain: cookiebot
Domain Path: /langs
Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Tags: cookie banner, GDPR, CCPA, WordPress cookie banner, cookie policy, ePrivacy, dsgvo, privacy compliance, cookie law, data privacy, cmp, cookies
* Requires at least: 4.4
* Tested up to: 6.3.1
* Stable tag: 4.3.0
* Stable tag: 4.3.1
* Requires PHP: 5.6
* License: GPLv2 or later

Expand Down Expand Up @@ -269,6 +269,14 @@ If your favorite plugin isn't supported, feel free to request it via our [GitHub
## Changelog ##
**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.**

### 4.3.1 ###
Release date: September 26th 2023

Cookiebot CMP version 4.3.1 is out! Here is the complete list of this update:

####Bugfixes####
* URL passthrough always enabled by default

### 4.3 ###
Release date: September 12th 2023

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Cookiebot_Javascript_Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function include_google_tag_manager_js( $return_html = false ) {
public function include_google_consent_mode_js( $return_html = false ) {
$option = get_option( 'cookiebot-gcm' );
$blocking_mode = get_option( 'cookiebot-cookie-blocking-mode' );
$is_url_passthrough_enabled = '1' === (string) get_option( 'cookiebot-gcm-url-passthrough', 1 );
$is_url_passthrough_enabled = get_option( 'cookiebot-gcm-url-passthrough' );
$cookie_categories = get_option( 'cookiebot-gcm-cookies' );

if ( $option !== false && $option !== '' ) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Cookiebot_WP.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use RuntimeException;

class Cookiebot_WP {
const COOKIEBOT_PLUGIN_VERSION = '4.3.0';
const COOKIEBOT_PLUGIN_VERSION = '4.3.1';
const COOKIEBOT_MIN_PHP_VERSION = '5.6.0';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/settings/pages/Gcm_Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function display() {
$args = array(
'cookie_categories_disabled' => Cookiebot_WP::get_cookie_categories_status(),
'gcm_enabled_option' => get_option( 'cookiebot-gcm' ),
'gcm_url_passthrough_option' => get_option( 'cookiebot-gcm-url-passthrough', 1 ),
'gcm_url_passthrough_option' => get_option( 'cookiebot-gcm-url-passthrough' ),
'auto_disabled' => Cookiebot_WP::get_cookie_blocking_mode() === 'auto' ? ' disabled__item' : '',
'is_preferences' => Cookiebot_WP::is_cookie_category_selected( self::OPTION_NAME, 'preferences' ),
'is_statistics' => Cookiebot_WP::is_cookie_category_selected( self::OPTION_NAME, 'statistics' ),
Expand Down

0 comments on commit 34d3e8b

Please sign in to comment.