diff --git a/gdpr.php b/gdpr.php index ac5d0478..efafe262 100755 --- a/gdpr.php +++ b/gdpr.php @@ -16,7 +16,7 @@ * Plugin Name: GDPR * Plugin URI: https://trewknowledge.com * Description: This plugin is meant to assist a Controller, Data Processor, and Data Protection Officer (DPO) with efforts to meet the obligations and rights enacted under the GDPR. - * Version: 3.2.2 + * Version: 3.2.3 * Author: Box UK (forked from Trew Knowledge) * Author URI: https://trewknowledge.com * License: GPL-2.0+ @@ -35,7 +35,7 @@ * Start at version 1.0.0 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define( 'GDPR_VERSION', '3.2.2' ); +define( 'GDPR_VERSION', '3.2.3' ); /** * The minimum PHP version required to run the plugin. diff --git a/includes/class-gdpr.php b/includes/class-gdpr.php index 7443aa30..d9a04e8f 100755 --- a/includes/class-gdpr.php +++ b/includes/class-gdpr.php @@ -132,6 +132,10 @@ private function load_dependencies() { */ require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-gdpr-public.php'; + /** + * The class responsible for using JavaScript to set cookies, instead of `setcookie`. + */ + require_once plugin_dir_path( dirname( __FILE__ ) ) . 'public/class-gdpr-cookie-setting-js.php'; } /**