Changeset 3366825
- Timestamp:
- 09/24/2025 12:33:49 AM (6 months ago)
- Location:
- termageddon-usercentrics
- Files:
-
- 8 edited
- 1 copied
-
tags/1.8.2 (copied) (copied from termageddon-usercentrics/trunk)
-
tags/1.8.2/README.txt (modified) (3 diffs)
-
tags/1.8.2/includes/class-termageddon-usercentrics.php (modified) (2 diffs)
-
tags/1.8.2/termageddon-usercentrics.php (modified) (2 diffs)
-
tags/1.8.2/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/includes/class-termageddon-usercentrics.php (modified) (2 diffs)
-
trunk/termageddon-usercentrics.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
termageddon-usercentrics/tags/1.8.2/README.txt
r3366069 r3366825 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 1.8. 17 Stable tag: 1.8.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 132 132 133 133 == Frequently Asked Questions == 134 135 = Do I need a Termageddon account to use this plugin? = 136 137 Yes, this plugin requires a Termageddon license which includes the consent solution. The plugin helps you implement and optimize the consent solution with advanced features like geolocation targeting. 138 139 = How does geolocation work? = 140 141 The plugin uses MaxMind's GeoLite2 database to detect visitor locations based on IP addresses. Consent banners are shown only to visitors in jurisdictions that require them, improving user experience for others. 142 143 = Can I customize the appearance of the consent banner? = 144 145 Yes, the consent banner appearance is controlled through your Termageddon account settings. The plugin focuses on smart delivery and integration features. Setting the Banner to V3 (in the Settings area) offers full CSS control. 146 147 = Is this plugin compatible with caching plugins? = 148 149 Yes, the plugin includes AJAX mode specifically designed to work with caching plugins like WP Rocket, W3 Total Cache, WP Super Cache, and others. You may need to exclude usercentrics from JS modifications (available in [support article](https://termageddon.freshdesk.com/support/solutions/articles/66000503921-using-the-consent-solution-with-caching-optimization-tools-perfmatters-wp-rocket-nitropack-sg-siteground-optimizer-litespeed)). 150 151 = How do I add privacy settings links to my site? = 152 153 Use the `[uc-privacysettings]` shortcode anywhere on your site. You can customize the text and choose between button or link elements. 154 155 = What happens if I disable the plugin? = 156 157 The consent solution will stop loading, and privacy settings links will be hidden. Your site will no longer show consent banners to visitors. 158 159 = Can I test the geolocation features? = 160 161 Yes, enable debug mode in the plugin settings and use URL parameters like `?termageddon-usercentrics-debug=california` to test different locations. 162 163 = Is customer support available? = 164 165 Yes, comprehensive support is available through our dedicated support portal at [https://termageddon.freshdesk.com/](https://termageddon.freshdesk.com/). 166 134 167 = Where do I report security bugs found in this plugin? = 135 168 136 Please report security bugs found in the source code of the Termageddon: Cookie Consent & Privacy Compliance plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/ca044124-3ff0-4caf-940d-678b3896e0b4). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin. 137 138 = Do I need a Termageddon account to use this plugin? = 139 140 Yes, this plugin requires a Termageddon license which includes the consent solution. The plugin helps you implement and optimize the consent solution with advanced features like geolocation targeting. 141 142 = How does geolocation work? = 143 144 The plugin uses MaxMind's GeoLite2 database to detect visitor locations based on IP addresses. Consent banners are shown only to visitors in jurisdictions that require them, improving user experience for others. 145 146 = Can I customize the appearance of the consent banner? = 147 148 Yes, the consent banner appearance is controlled through your Termageddon account settings. The plugin focuses on smart delivery and integration features. Setting the Banner to V3 (in the Settings area) offers full CSS control. 149 150 = Is this plugin compatible with caching plugins? = 151 152 Yes, the plugin includes AJAX mode specifically designed to work with caching plugins like WP Rocket, W3 Total Cache, WP Super Cache, and others. You may need to exclude usercentrics from JS modifications (available in [support article](https://termageddon.freshdesk.com/support/solutions/articles/66000503921-using-the-consent-solution-with-caching-optimization-tools-perfmatters-wp-rocket-nitropack-sg-siteground-optimizer-litespeed)). 153 154 = How do I add privacy settings links to my site? = 155 156 Use the `[uc-privacysettings]` shortcode anywhere on your site. You can customize the text and choose between button or link elements. 157 158 = What happens if I disable the plugin? = 159 160 The consent solution will stop loading, and privacy settings links will be hidden. Your site will no longer show consent banners to visitors. 161 162 = Can I test the geolocation features? = 163 164 Yes, enable debug mode in the plugin settings and use URL parameters like `?termageddon-usercentrics-debug=california` to test different locations. 165 166 = Is customer support available? = 167 168 Yes, comprehensive support is available through our dedicated support portal at [https://termageddon.freshdesk.com/](https://termageddon.freshdesk.com/). 169 Please report security bugs found in the source code of the Termageddon: Cookie Consent & Privacy Compliance plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/ca044124-3ff0-4caf-940d-678b3896e0b4). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin. You can also reach out to our support team for additional assistance and guidance. 169 170 170 171 == Screenshots == … … 187 188 188 189 == Changelog == 190 191 = 1.8.2 = 192 193 **🔒 Security:** 194 * Enhanced security for privacy settings shortcode to prevent malicious code execution [CVE-2025-58026](https://www.cve.org/CVERecord?id=CVE-2025-58026) 195 * Improved input sanitization for better protection against security vulnerabilities 189 196 190 197 = 1.8.1 = -
termageddon-usercentrics/tags/1.8.2/includes/class-termageddon-usercentrics.php
r3326335 r3366825 277 277 278 278 // Add PSL shortcode. 279 add_shortcode( 280 'uc-privacysettings', 281 function( $atts ) { 282 $a = shortcode_atts( 283 array( 284 'text' => 'Privacy Settings', 285 'type' => 'a', 286 ), 287 $atts 288 ); 289 290 $onclick = '(function(){var r=document.querySelector(\'div#usercentrics-root\'),c=document.querySelector(\'aside#usercentrics-cmp-ui\');if(r)r.style.display=\'block\';if(c)c.style.display=\'block\';if(typeof UC_UI!==\'undefined\')UC_UI.showSecondLayer()})()'; 291 292 if ( 'button' === $a['type'] ) { 293 return '<button type="button" onclick="' . $onclick . '" id="usercentrics-psl">' . $a['text'] . '</button>'; 294 } else { 295 return '<a role="button" href="javascript:void(0)" onclick="' . $onclick . '" id="usercentrics-psl">' . $a['text'] . '</a>'; 296 } 297 } 298 ); 279 add_shortcode( 'uc-privacysettings', array( $this, 'privacy_settings_shortcode' ) ); 299 280 300 281 } … … 315 296 } 316 297 298 /** 299 * Handle the uc-privacysettings shortcode 300 * 301 * @since 1.8.2 302 * @param array $atts Shortcode attributes. 303 * @return string The shortcode output. 304 */ 305 public function privacy_settings_shortcode( $atts ) { 306 $a = shortcode_atts( 307 array( 308 'text' => 'Privacy Settings', 309 'type' => 'a', 310 ), 311 $atts 312 ); 313 314 $onclick = '(function(){var r=document.querySelector(\'div#usercentrics-root\'),c=document.querySelector(\'aside#usercentrics-cmp-ui\');if(r)r.style.display=\'block\';if(c)c.style.display=\'block\';if(typeof UC_UI!==\'undefined\')UC_UI.showSecondLayer()})()'; 315 316 if ( 'button' === $a['type'] ) { 317 return '<button type="button" onclick="' . $onclick . '" id="usercentrics-psl">' . esc_html( $a['text'] ) . '</button>'; 318 } else { 319 return '<a role="button" href="javascript:void(0)" onclick="' . $onclick . '" id="usercentrics-psl">' . esc_html( $a['text'] ) . '</a>'; 320 } 321 } 317 322 318 323 /** -
termageddon-usercentrics/tags/1.8.2/termageddon-usercentrics.php
r3362792 r3366825 15 15 * Plugin Name: Termageddon 16 16 * Description: Each Termageddon license includes a consent solution. This plugin helps you install the consent solution with ease, while offering additional features. 17 * Version: 1.8. 117 * Version: 1.8.2 18 18 * Author: Termageddon 19 19 * Author URI: https://termageddon.com … … 34 34 * Rename this for your plugin and update it as you release new versions. 35 35 */ 36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.8. 1' );36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.8.2' ); 37 37 38 38 define( 'TERMAGEDDON_COOKIE_PLUGIN_PATH', dirname( __FILE__ ) );// No trailing slash. -
termageddon-usercentrics/tags/1.8.2/vendor/composer/installed.php
r3362792 r3366825 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 24e892ca12076a7ddbe324d42cda3ec850a446e1',6 'reference' => '8c98b9ca2d8ab64221beecdd7d94295be96b6dbb', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 50 50 'pretty_version' => 'dev-main', 51 51 'version' => 'dev-main', 52 'reference' => ' 24e892ca12076a7ddbe324d42cda3ec850a446e1',52 'reference' => '8c98b9ca2d8ab64221beecdd7d94295be96b6dbb', 53 53 'type' => 'library', 54 54 'install_path' => __DIR__ . '/../../', -
termageddon-usercentrics/trunk/README.txt
r3366069 r3366825 5 5 Tested up to: 6.8.1 6 6 Requires PHP: 7.2 7 Stable tag: 1.8. 17 Stable tag: 1.8.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 132 132 133 133 == Frequently Asked Questions == 134 135 = Do I need a Termageddon account to use this plugin? = 136 137 Yes, this plugin requires a Termageddon license which includes the consent solution. The plugin helps you implement and optimize the consent solution with advanced features like geolocation targeting. 138 139 = How does geolocation work? = 140 141 The plugin uses MaxMind's GeoLite2 database to detect visitor locations based on IP addresses. Consent banners are shown only to visitors in jurisdictions that require them, improving user experience for others. 142 143 = Can I customize the appearance of the consent banner? = 144 145 Yes, the consent banner appearance is controlled through your Termageddon account settings. The plugin focuses on smart delivery and integration features. Setting the Banner to V3 (in the Settings area) offers full CSS control. 146 147 = Is this plugin compatible with caching plugins? = 148 149 Yes, the plugin includes AJAX mode specifically designed to work with caching plugins like WP Rocket, W3 Total Cache, WP Super Cache, and others. You may need to exclude usercentrics from JS modifications (available in [support article](https://termageddon.freshdesk.com/support/solutions/articles/66000503921-using-the-consent-solution-with-caching-optimization-tools-perfmatters-wp-rocket-nitropack-sg-siteground-optimizer-litespeed)). 150 151 = How do I add privacy settings links to my site? = 152 153 Use the `[uc-privacysettings]` shortcode anywhere on your site. You can customize the text and choose between button or link elements. 154 155 = What happens if I disable the plugin? = 156 157 The consent solution will stop loading, and privacy settings links will be hidden. Your site will no longer show consent banners to visitors. 158 159 = Can I test the geolocation features? = 160 161 Yes, enable debug mode in the plugin settings and use URL parameters like `?termageddon-usercentrics-debug=california` to test different locations. 162 163 = Is customer support available? = 164 165 Yes, comprehensive support is available through our dedicated support portal at [https://termageddon.freshdesk.com/](https://termageddon.freshdesk.com/). 166 134 167 = Where do I report security bugs found in this plugin? = 135 168 136 Please report security bugs found in the source code of the Termageddon: Cookie Consent & Privacy Compliance plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/ca044124-3ff0-4caf-940d-678b3896e0b4). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin. 137 138 = Do I need a Termageddon account to use this plugin? = 139 140 Yes, this plugin requires a Termageddon license which includes the consent solution. The plugin helps you implement and optimize the consent solution with advanced features like geolocation targeting. 141 142 = How does geolocation work? = 143 144 The plugin uses MaxMind's GeoLite2 database to detect visitor locations based on IP addresses. Consent banners are shown only to visitors in jurisdictions that require them, improving user experience for others. 145 146 = Can I customize the appearance of the consent banner? = 147 148 Yes, the consent banner appearance is controlled through your Termageddon account settings. The plugin focuses on smart delivery and integration features. Setting the Banner to V3 (in the Settings area) offers full CSS control. 149 150 = Is this plugin compatible with caching plugins? = 151 152 Yes, the plugin includes AJAX mode specifically designed to work with caching plugins like WP Rocket, W3 Total Cache, WP Super Cache, and others. You may need to exclude usercentrics from JS modifications (available in [support article](https://termageddon.freshdesk.com/support/solutions/articles/66000503921-using-the-consent-solution-with-caching-optimization-tools-perfmatters-wp-rocket-nitropack-sg-siteground-optimizer-litespeed)). 153 154 = How do I add privacy settings links to my site? = 155 156 Use the `[uc-privacysettings]` shortcode anywhere on your site. You can customize the text and choose between button or link elements. 157 158 = What happens if I disable the plugin? = 159 160 The consent solution will stop loading, and privacy settings links will be hidden. Your site will no longer show consent banners to visitors. 161 162 = Can I test the geolocation features? = 163 164 Yes, enable debug mode in the plugin settings and use URL parameters like `?termageddon-usercentrics-debug=california` to test different locations. 165 166 = Is customer support available? = 167 168 Yes, comprehensive support is available through our dedicated support portal at [https://termageddon.freshdesk.com/](https://termageddon.freshdesk.com/). 169 Please report security bugs found in the source code of the Termageddon: Cookie Consent & Privacy Compliance plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/ca044124-3ff0-4caf-940d-678b3896e0b4). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin. You can also reach out to our support team for additional assistance and guidance. 169 170 170 171 == Screenshots == … … 187 188 188 189 == Changelog == 190 191 = 1.8.2 = 192 193 **🔒 Security:** 194 * Enhanced security for privacy settings shortcode to prevent malicious code execution [CVE-2025-58026](https://www.cve.org/CVERecord?id=CVE-2025-58026) 195 * Improved input sanitization for better protection against security vulnerabilities 189 196 190 197 = 1.8.1 = -
termageddon-usercentrics/trunk/includes/class-termageddon-usercentrics.php
r3326335 r3366825 277 277 278 278 // Add PSL shortcode. 279 add_shortcode( 280 'uc-privacysettings', 281 function( $atts ) { 282 $a = shortcode_atts( 283 array( 284 'text' => 'Privacy Settings', 285 'type' => 'a', 286 ), 287 $atts 288 ); 289 290 $onclick = '(function(){var r=document.querySelector(\'div#usercentrics-root\'),c=document.querySelector(\'aside#usercentrics-cmp-ui\');if(r)r.style.display=\'block\';if(c)c.style.display=\'block\';if(typeof UC_UI!==\'undefined\')UC_UI.showSecondLayer()})()'; 291 292 if ( 'button' === $a['type'] ) { 293 return '<button type="button" onclick="' . $onclick . '" id="usercentrics-psl">' . $a['text'] . '</button>'; 294 } else { 295 return '<a role="button" href="javascript:void(0)" onclick="' . $onclick . '" id="usercentrics-psl">' . $a['text'] . '</a>'; 296 } 297 } 298 ); 279 add_shortcode( 'uc-privacysettings', array( $this, 'privacy_settings_shortcode' ) ); 299 280 300 281 } … … 315 296 } 316 297 298 /** 299 * Handle the uc-privacysettings shortcode 300 * 301 * @since 1.8.2 302 * @param array $atts Shortcode attributes. 303 * @return string The shortcode output. 304 */ 305 public function privacy_settings_shortcode( $atts ) { 306 $a = shortcode_atts( 307 array( 308 'text' => 'Privacy Settings', 309 'type' => 'a', 310 ), 311 $atts 312 ); 313 314 $onclick = '(function(){var r=document.querySelector(\'div#usercentrics-root\'),c=document.querySelector(\'aside#usercentrics-cmp-ui\');if(r)r.style.display=\'block\';if(c)c.style.display=\'block\';if(typeof UC_UI!==\'undefined\')UC_UI.showSecondLayer()})()'; 315 316 if ( 'button' === $a['type'] ) { 317 return '<button type="button" onclick="' . $onclick . '" id="usercentrics-psl">' . esc_html( $a['text'] ) . '</button>'; 318 } else { 319 return '<a role="button" href="javascript:void(0)" onclick="' . $onclick . '" id="usercentrics-psl">' . esc_html( $a['text'] ) . '</a>'; 320 } 321 } 317 322 318 323 /** -
termageddon-usercentrics/trunk/termageddon-usercentrics.php
r3362792 r3366825 15 15 * Plugin Name: Termageddon 16 16 * Description: Each Termageddon license includes a consent solution. This plugin helps you install the consent solution with ease, while offering additional features. 17 * Version: 1.8. 117 * Version: 1.8.2 18 18 * Author: Termageddon 19 19 * Author URI: https://termageddon.com … … 34 34 * Rename this for your plugin and update it as you release new versions. 35 35 */ 36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.8. 1' );36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.8.2' ); 37 37 38 38 define( 'TERMAGEDDON_COOKIE_PLUGIN_PATH', dirname( __FILE__ ) );// No trailing slash. -
termageddon-usercentrics/trunk/vendor/composer/installed.php
r3362792 r3366825 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 24e892ca12076a7ddbe324d42cda3ec850a446e1',6 'reference' => '8c98b9ca2d8ab64221beecdd7d94295be96b6dbb', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 50 50 'pretty_version' => 'dev-main', 51 51 'version' => 'dev-main', 52 'reference' => ' 24e892ca12076a7ddbe324d42cda3ec850a446e1',52 'reference' => '8c98b9ca2d8ab64221beecdd7d94295be96b6dbb', 53 53 'type' => 'library', 54 54 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.