Plugin Directory

Changeset 3366825


Ignore:
Timestamp:
09/24/2025 12:33:49 AM (6 months ago)
Author:
termageddon
Message:

Update to version 1.8.2 from GitHub

Location:
termageddon-usercentrics
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • termageddon-usercentrics/tags/1.8.2/README.txt

    r3366069 r3366825  
    55Tested up to: 6.8.1
    66Requires PHP: 7.2
    7 Stable tag: 1.8.1
     7Stable tag: 1.8.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    132132
    133133== Frequently Asked Questions ==
     134
     135= Do I need a Termageddon account to use this plugin? =
     136
     137Yes, 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
     141The 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
     145Yes, 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
     149Yes, 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
     153Use 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
     157The 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
     161Yes, 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
     165Yes, comprehensive support is available through our dedicated support portal at [https://termageddon.freshdesk.com/](https://termageddon.freshdesk.com/).
     166
    134167= Where do I report security bugs found in this plugin? =
    135168
    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/).
     169Please 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.
    169170
    170171== Screenshots ==
     
    187188
    188189== 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
    189196
    190197= 1.8.1 =
  • termageddon-usercentrics/tags/1.8.2/includes/class-termageddon-usercentrics.php

    r3326335 r3366825  
    277277
    278278        // 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' ) );
    299280
    300281    }
     
    315296    }
    316297
     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    }
    317322
    318323    /**
  • termageddon-usercentrics/tags/1.8.2/termageddon-usercentrics.php

    r3362792 r3366825  
    1515 * Plugin Name:       Termageddon
    1616 * 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.1
     17 * Version:           1.8.2
    1818 * Author:            Termageddon
    1919 * Author URI:        https://termageddon.com
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.8.1' );
     36define( 'TERMAGEDDON_COOKIE_VERSION', '1.8.2' );
    3737
    3838define( 'TERMAGEDDON_COOKIE_PLUGIN_PATH', dirname( __FILE__ ) );// No trailing slash.
  • termageddon-usercentrics/tags/1.8.2/vendor/composer/installed.php

    r3362792 r3366825  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '24e892ca12076a7ddbe324d42cda3ec850a446e1',
     6        'reference' => '8c98b9ca2d8ab64221beecdd7d94295be96b6dbb',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    5050            'pretty_version' => 'dev-main',
    5151            'version' => 'dev-main',
    52             'reference' => '24e892ca12076a7ddbe324d42cda3ec850a446e1',
     52            'reference' => '8c98b9ca2d8ab64221beecdd7d94295be96b6dbb',
    5353            'type' => 'library',
    5454            'install_path' => __DIR__ . '/../../',
  • termageddon-usercentrics/trunk/README.txt

    r3366069 r3366825  
    55Tested up to: 6.8.1
    66Requires PHP: 7.2
    7 Stable tag: 1.8.1
     7Stable tag: 1.8.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    132132
    133133== Frequently Asked Questions ==
     134
     135= Do I need a Termageddon account to use this plugin? =
     136
     137Yes, 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
     141The 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
     145Yes, 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
     149Yes, 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
     153Use 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
     157The 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
     161Yes, 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
     165Yes, comprehensive support is available through our dedicated support portal at [https://termageddon.freshdesk.com/](https://termageddon.freshdesk.com/).
     166
    134167= Where do I report security bugs found in this plugin? =
    135168
    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/).
     169Please 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.
    169170
    170171== Screenshots ==
     
    187188
    188189== 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
    189196
    190197= 1.8.1 =
  • termageddon-usercentrics/trunk/includes/class-termageddon-usercentrics.php

    r3326335 r3366825  
    277277
    278278        // 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' ) );
    299280
    300281    }
     
    315296    }
    316297
     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    }
    317322
    318323    /**
  • termageddon-usercentrics/trunk/termageddon-usercentrics.php

    r3362792 r3366825  
    1515 * Plugin Name:       Termageddon
    1616 * 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.1
     17 * Version:           1.8.2
    1818 * Author:            Termageddon
    1919 * Author URI:        https://termageddon.com
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.8.1' );
     36define( 'TERMAGEDDON_COOKIE_VERSION', '1.8.2' );
    3737
    3838define( 'TERMAGEDDON_COOKIE_PLUGIN_PATH', dirname( __FILE__ ) );// No trailing slash.
  • termageddon-usercentrics/trunk/vendor/composer/installed.php

    r3362792 r3366825  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '24e892ca12076a7ddbe324d42cda3ec850a446e1',
     6        'reference' => '8c98b9ca2d8ab64221beecdd7d94295be96b6dbb',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    5050            'pretty_version' => 'dev-main',
    5151            'version' => 'dev-main',
    52             'reference' => '24e892ca12076a7ddbe324d42cda3ec850a446e1',
     52            'reference' => '8c98b9ca2d8ab64221beecdd7d94295be96b6dbb',
    5353            'type' => 'library',
    5454            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.