Changeset 3060868 for termageddon-usercentrics
- Timestamp:
- 03/29/2024 02:07:15 AM (2 years ago)
- Location:
- termageddon-usercentrics
- Files:
-
- 3 deleted
- 6 edited
- 66 copied
-
tags/1.4.0 (copied) (copied from termageddon-usercentrics/trunk)
-
tags/1.4.0/README.txt (copied) (copied from termageddon-usercentrics/trunk/README.txt) (2 diffs)
-
tags/1.4.0/admin/class-termageddon-usercentrics-admin.php (copied) (copied from termageddon-usercentrics/trunk/admin/class-termageddon-usercentrics-admin.php) (5 diffs)
-
tags/1.4.0/admin/css/termageddon-usercentrics-admin.css (copied) (copied from termageddon-usercentrics/trunk/admin/css/termageddon-usercentrics-admin.css)
-
tags/1.4.0/admin/css/termageddon-usercentrics-admin.min.css (copied) (copied from termageddon-usercentrics/trunk/admin/css/termageddon-usercentrics-admin.min.css)
-
tags/1.4.0/admin/js (copied) (copied from termageddon-usercentrics/trunk/admin/js)
-
tags/1.4.0/admin/js/termageddon-usercentrics-admin.js (copied) (copied from termageddon-usercentrics/trunk/admin/js/termageddon-usercentrics-admin.js)
-
tags/1.4.0/admin/js/termageddon-usercentrics-admin.min.js (copied) (copied from termageddon-usercentrics/trunk/admin/js/termageddon-usercentrics-admin.min.js)
-
tags/1.4.0/composer.json (copied) (copied from termageddon-usercentrics/trunk/composer.json)
-
tags/1.4.0/composer.lock (copied) (copied from termageddon-usercentrics/trunk/composer.lock)
-
tags/1.4.0/includes/.intelephense-helper.php (copied) (copied from termageddon-usercentrics/trunk/includes/.intelephense-helper.php)
-
tags/1.4.0/includes/class-termageddon-usercentrics-activator.php (copied) (copied from termageddon-usercentrics/trunk/includes/class-termageddon-usercentrics-activator.php)
-
tags/1.4.0/includes/class-termageddon-usercentrics-deactivator.php (copied) (copied from termageddon-usercentrics/trunk/includes/class-termageddon-usercentrics-deactivator.php)
-
tags/1.4.0/includes/class-termageddon-usercentrics.php (copied) (copied from termageddon-usercentrics/trunk/includes/class-termageddon-usercentrics.php) (4 diffs)
-
tags/1.4.0/languages/termageddon-usercentrics-en_US.po (copied) (copied from termageddon-usercentrics/trunk/languages/termageddon-usercentrics-en_US.po)
-
tags/1.4.0/languages/termageddon-usercentrics.pot (copied) (copied from termageddon-usercentrics/trunk/languages/termageddon-usercentrics.pot) (16 diffs)
-
tags/1.4.0/public/class-termageddon-usercentrics-public.php (copied) (copied from termageddon-usercentrics/trunk/public/class-termageddon-usercentrics-public.php) (1 diff)
-
tags/1.4.0/public/js (copied) (copied from termageddon-usercentrics/trunk/public/js)
-
tags/1.4.0/public/js/termageddon-usercentrics-ajax.js (copied) (copied from termageddon-usercentrics/trunk/public/js/termageddon-usercentrics-ajax.js)
-
tags/1.4.0/public/js/termageddon-usercentrics-ajax.min.js (copied) (copied from termageddon-usercentrics/trunk/public/js/termageddon-usercentrics-ajax.min.js)
-
tags/1.4.0/termageddon-usercentrics.code-workspace (copied) (copied from termageddon-usercentrics/trunk/termageddon-usercentrics.code-workspace)
-
tags/1.4.0/termageddon-usercentrics.php (copied) (copied from termageddon-usercentrics/trunk/termageddon-usercentrics.php) (2 diffs)
-
tags/1.4.0/vendor/bin (copied) (copied from termageddon-usercentrics/trunk/vendor/bin)
-
tags/1.4.0/vendor/composer/ClassLoader.php (copied) (copied from termageddon-usercentrics/trunk/vendor/composer/ClassLoader.php)
-
tags/1.4.0/vendor/composer/InstalledVersions.php (copied) (copied from termageddon-usercentrics/trunk/vendor/composer/InstalledVersions.php)
-
tags/1.4.0/vendor/composer/autoload_real.php (copied) (copied from termageddon-usercentrics/trunk/vendor/composer/autoload_real.php)
-
tags/1.4.0/vendor/composer/autoload_static.php (copied) (copied from termageddon-usercentrics/trunk/vendor/composer/autoload_static.php)
-
tags/1.4.0/vendor/composer/ca-bundle/res/cacert.pem (copied) (copied from termageddon-usercentrics/trunk/vendor/composer/ca-bundle/res/cacert.pem)
-
tags/1.4.0/vendor/composer/ca-bundle/src/CaBundle.php (copied) (copied from termageddon-usercentrics/trunk/vendor/composer/ca-bundle/src/CaBundle.php)
-
tags/1.4.0/vendor/composer/installed.json (copied) (copied from termageddon-usercentrics/trunk/vendor/composer/installed.json)
-
tags/1.4.0/vendor/composer/installed.php (copied) (copied from termageddon-usercentrics/trunk/vendor/composer/installed.php)
-
tags/1.4.0/vendor/geoip2/geoip2/.github (deleted)
-
tags/1.4.0/vendor/geoip2/geoip2/.php-cs-fixer.php (deleted)
-
tags/1.4.0/vendor/geoip2/geoip2/CHANGELOG.md (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/CHANGELOG.md)
-
tags/1.4.0/vendor/geoip2/geoip2/README.md (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/README.md)
-
tags/1.4.0/vendor/geoip2/geoip2/composer.json (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/composer.json)
-
tags/1.4.0/vendor/geoip2/geoip2/examples/benchmark.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/examples/benchmark.php)
-
tags/1.4.0/vendor/geoip2/geoip2/phpstan.neon (deleted)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Database/Reader.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Database/Reader.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Exception/AddressNotFoundException.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Exception/AddressNotFoundException.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Exception/AuthenticationException.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Exception/AuthenticationException.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Exception/GeoIp2Exception.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Exception/GeoIp2Exception.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Exception/HttpException.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Exception/HttpException.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Exception/InvalidRequestException.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Exception/OutOfQueriesException.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Exception/OutOfQueriesException.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/AbstractModel.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/AbstractModel.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/AnonymousIp.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/AnonymousIp.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/Asn.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/Asn.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/City.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/City.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/ConnectionType.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/ConnectionType.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/Country.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/Country.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/Domain.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/Domain.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/Enterprise.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/Enterprise.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/Insights.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/Insights.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Model/Isp.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Model/Isp.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/ProviderInterface.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/ProviderInterface.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/AbstractPlaceRecord.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/AbstractRecord.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/AbstractRecord.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/City.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/City.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/Continent.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/Continent.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/Country.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/Country.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/Location.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/Location.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/MaxMind.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/MaxMind.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/Postal.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/Postal.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/RepresentedCountry.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/RepresentedCountry.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/Subdivision.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/Subdivision.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Record/Traits.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Record/Traits.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/Util.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/Util.php)
-
tags/1.4.0/vendor/geoip2/geoip2/src/WebService/Client.php (copied) (copied from termageddon-usercentrics/trunk/vendor/geoip2/geoip2/src/WebService/Client.php)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-termageddon-usercentrics-admin.php (modified) (5 diffs)
-
trunk/includes/class-termageddon-usercentrics.php (modified) (4 diffs)
-
trunk/languages/termageddon-usercentrics.pot (modified) (16 diffs)
-
trunk/public/class-termageddon-usercentrics-public.php (modified) (1 diff)
-
trunk/termageddon-usercentrics.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
termageddon-usercentrics/tags/1.4.0/README.txt
r3052208 r3060868 5 5 Requires at least: 3.0.1 6 6 Tested up to: 6.4.3 7 Stable tag: 1. 3.97 Stable tag: 1.4.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 == Changelog == 28 28 29 = 1.4.0 = 30 31 - [ADD] Added ability to disable plugin for troubleshooting to all visitors unless ?enable-usercentrics is added as a query parameter to the URL. 32 29 33 = 1.3.9 = 30 34 31 35 - [CHANGE] Removed jQuery as requirement for privacy settings link. 32 36 - [Change] Enqueued jQuery where required for other implementations to avoid a missing dependency. 33 34 37 35 38 = 1.3.8 = -
termageddon-usercentrics/tags/1.4.0/admin/class-termageddon-usercentrics-admin.php
r3049451 r3060868 393 393 ); 394 394 395 // BREAK SECTION FOR GEOLOCATIONSETTINGS.395 // BREAK SECTION FOR PSL SETTINGS. 396 396 $this->add_new_subsection( 397 397 'termageddon_usercentrics_section_settings', … … 441 441 ); 442 442 443 // BREAK SECTION FOR GEOLOCATION SETTINGS.443 // BREAK SECTION FOR INTEGRATION SETTINGS. 444 444 $this->add_new_subsection( 445 445 'termageddon_usercentrics_section_settings', … … 484 484 'termageddon_usercentrics_settings', // settings group name. 485 485 'termageddon_usercentrics_integration_presto_player', // option name. 486 '' // sanitization function. 487 ); 488 489 // BREAK SECTION FOR OTHER SETTINGS. 490 $this->add_new_subsection( 491 'termageddon_usercentrics_section_settings', 492 array( 493 'name' => 'Other Settings', 494 'description' => 'This section contains various other settings that can be adjusted for this plugin.', 495 ) 496 ); 497 498 // Privacy Settings Link Disable. 499 add_settings_field( 500 'termageddon_usercentrics_disable_troubleshooting', 501 __( 'Disable for Troubleshooting', 'termageddon-usercentrics' ), 502 array( &$this, 'disable_troubleshooting_html' ), // function which prints the field. 503 'termageddon-usercentrics', // page slug. 504 'termageddon_usercentrics_section_settings', // section ID. 505 array( 506 'label_for' => 'termageddon_usercentrics_disable_troubleshooting', 507 'description' => __( 'When enabled, this feature allows you to disable the consent tool for all site visitors, however by adding <code>?enable-usercentrics</code> to the end of a URL, the consent tool will load, allowing you to troubleshoot any issues (or to reach out to Termageddon support to help assist with troubleshooting)', 'termageddon-usercentrics' ), 508 ) 509 ); 510 511 register_setting( 512 'termageddon_usercentrics_settings', // settings group name. 513 'termageddon_usercentrics_disable_troubleshooting', // option name. 486 514 '' // sanitization function. 487 515 ); … … 819 847 } 820 848 /** 821 * The HTML field for the psl hidden checkbox.849 * The HTML field for the psl alternate implementation checkbox. 822 850 * 823 851 * @param array $args The arguments provided by the add_settings_field() method. … … 826 854 public function psl_alternate_implementation( array $args ) { 827 855 self::generate_checkbox( 'alternate', 'psl', $args ); 856 } 857 /** 858 * The HTML field for the disable troubleshooting checkbox. 859 * 860 * @param array $args The arguments provided by the add_settings_field() method. 861 * @return void 862 */ 863 public function disable_troubleshooting_html( array $args ) { 864 self::generate_checkbox( 'troubleshooting', 'disable', $args ); 828 865 } 829 866 /** -
termageddon-usercentrics/tags/1.4.0/includes/class-termageddon-usercentrics.php
r3052208 r3060868 342 342 343 343 /** 344 * Generate a random string with specified param aters344 * Generate a random string with specified parameters 345 345 * 346 346 * @param int $length The length of string to generate. … … 742 742 743 743 /** 744 * Returns whether debug mode is enabled via the query param ater744 * Returns whether debug mode is enabled via the query parameter 745 745 * 746 746 * @return bool … … 750 750 751 751 } 752 753 754 /** 755 * Returns whether debug mode is enabled via the query paramater 752 753 754 /** 755 * Returns whether disabled for troubleshooting mode is enabled and not in the query params 756 * 757 * @return bool 758 */ 759 public static function is_disabled_for_troubleshooting() { 760 $enabled = ( get_option( 'termageddon_usercentrics_disable_troubleshooting', false ) ? true : false ); 761 762 if ($enabled && !isset($_GET['enable-usercentrics'])) return true; 763 return false; 764 765 } 766 767 768 /** 769 * Returns whether debug mode is enabled via the query parameter 756 770 * 757 771 * @return bool … … 764 778 765 779 /** 766 * Returns whether debug mode is enabled via the query param ater780 * Returns whether debug mode is enabled via the query parameter 767 781 * 768 782 * @return bool -
termageddon-usercentrics/tags/1.4.0/languages/termageddon-usercentrics.pot
r3049451 r3060868 4 4 "Project-Id-Version: Termageddon + Usercentrics\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2024-03- 12 02:56+0000\n"6 "POT-Creation-Date: 2024-03-29 02:00+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 29 29 msgstr "" 30 30 31 #: admin/class-termageddon-usercentrics-admin.php: 98931 #: admin/class-termageddon-usercentrics-admin.php:1026 32 32 msgid "along with page 1 of your Privacy Policy questionnaire within " 33 33 msgstr "" 34 34 35 #: admin/class-termageddon-usercentrics-admin.php: 57535 #: admin/class-termageddon-usercentrics-admin.php:603 36 36 msgid "California (CPRA or CIPA)" 37 37 msgstr "" 38 38 39 #: admin/class-termageddon-usercentrics-admin.php:5 5739 #: admin/class-termageddon-usercentrics-admin.php:585 40 40 msgid "Canada (PIPEDA)" 41 41 msgstr "" 42 42 43 43 #. section ID. 44 #: admin/class-termageddon-usercentrics-admin.php:6 6744 #: admin/class-termageddon-usercentrics-admin.php:695 45 45 msgid "Control Panel" 46 46 msgstr "" 47 47 48 #: admin/class-termageddon-usercentrics-admin.php:9 4948 #: admin/class-termageddon-usercentrics-admin.php:986 49 49 msgid "Cookie Policy and Consent Solution" 50 50 msgstr "" … … 52 52 #: admin/class-termageddon-usercentrics-admin.php:180 53 53 msgid "Debug Information" 54 msgstr "" 55 56 #: admin/class-termageddon-usercentrics-admin.php:501 57 msgid "Disable for Troubleshooting" 54 58 msgstr "" 55 59 … … 73 77 msgstr "" 74 78 75 #: admin/class-termageddon-usercentrics-admin.php:6 2079 #: admin/class-termageddon-usercentrics-admin.php:648 76 80 msgid "Enable location logging" 77 81 msgstr "" 78 82 79 #: admin/class-termageddon-usercentrics-admin.php:6 4083 #: admin/class-termageddon-usercentrics-admin.php:668 80 84 msgid "Enable page caching support via AJAX" 81 85 msgstr "" 82 86 83 #: admin/class-termageddon-usercentrics-admin.php: 68187 #: admin/class-termageddon-usercentrics-admin.php:709 84 88 msgid "Error Count" 85 89 msgstr "" … … 89 93 msgstr "" 90 94 91 #: admin/class-termageddon-usercentrics-admin.php: 69995 #: admin/class-termageddon-usercentrics-admin.php:727 92 96 msgid "Error List" 93 97 msgstr "" 94 98 95 #: admin/class-termageddon-usercentrics-admin.php:5 2199 #: admin/class-termageddon-usercentrics-admin.php:549 96 100 msgid "European Union & European Economic Area (GDPR)" 97 101 msgstr "" … … 111 115 #. section ID. 112 116 #: admin/class-termageddon-usercentrics-admin.php:172 113 #: admin/class-termageddon-usercentrics-admin.php:5 01117 #: admin/class-termageddon-usercentrics-admin.php:529 114 118 msgid "Geo-Location" 115 119 msgstr "" 116 120 117 121 #: admin/class-termageddon-usercentrics-admin.php:143 118 #: admin/class-termageddon-usercentrics-admin.php: 998122 #: admin/class-termageddon-usercentrics-admin.php:1035 119 123 msgid "" 120 124 "Geo-Location is enabled, but no locations have been toggled on. This means " … … 154 158 msgstr "" 155 159 156 #: admin/class-termageddon-usercentrics-admin.php: 967160 #: admin/class-termageddon-usercentrics-admin.php:1004 157 161 msgid "If you are using the Divi theme" 158 162 msgstr "" 159 163 160 #: admin/class-termageddon-usercentrics-admin.php: 966164 #: admin/class-termageddon-usercentrics-admin.php:1003 161 165 msgid "" 162 166 "If you would like to remove Usercentrics for logged in users such as admins, " … … 176 180 msgstr "" 177 181 178 #: admin/class-termageddon-usercentrics-admin.php: 989182 #: admin/class-termageddon-usercentrics-admin.php:1026 179 183 msgid "Not sure what to select? Review" 180 184 msgstr "" … … 210 214 msgstr "" 211 215 212 #: admin/class-termageddon-usercentrics-admin.php: 989216 #: admin/class-termageddon-usercentrics-admin.php:1026 213 217 msgid "this article" 214 218 msgstr "" … … 226 230 msgstr "" 227 231 228 #: admin/class-termageddon-usercentrics-admin.php:10 10232 #: admin/class-termageddon-usercentrics-admin.php:1047 229 233 msgid "" 230 234 "To reset any of the backend variables, update the values below and save your " … … 232 236 msgstr "" 233 237 234 #: admin/class-termageddon-usercentrics-admin.php:5 39238 #: admin/class-termageddon-usercentrics-admin.php:567 235 239 msgid "United Kingdom (UK DPA)" 236 240 msgstr "" 237 241 238 #: admin/class-termageddon-usercentrics-admin.php:9 48242 #: admin/class-termageddon-usercentrics-admin.php:985 239 243 msgid "Upon generating your " 240 244 msgstr "" 241 245 242 #: admin/class-termageddon-usercentrics-admin.php:9 34246 #: admin/class-termageddon-usercentrics-admin.php:971 243 247 msgid "Upon saving, all previous errors in the log will be deleted." 244 248 msgstr "" 245 249 246 #: admin/class-termageddon-usercentrics-admin.php: 593250 #: admin/class-termageddon-usercentrics-admin.php:621 247 251 msgid "Virginia (VCDPA)" 248 252 msgstr "" … … 268 272 msgstr "" 269 273 270 #: admin/class-termageddon-usercentrics-admin.php:6 26274 #: admin/class-termageddon-usercentrics-admin.php:654 271 275 msgid "" 272 276 "When enabled, the visitor's location can be viewed in the browser console, " … … 274 278 msgstr "" 275 279 276 #: admin/class-termageddon-usercentrics-admin.php:6 46280 #: admin/class-termageddon-usercentrics-admin.php:674 277 281 msgid "" 278 282 "When enabled, the visitor's location is checked via javascript to allow " … … 280 284 msgstr "" 281 285 282 #: admin/class-termageddon-usercentrics-admin.php:985 286 #: admin/class-termageddon-usercentrics-admin.php:507 287 msgid "" 288 "When enabled, this feature allows you to disable the consent tool for all " 289 "site visitors, however by adding <code>?enable-usercentrics</code> to the " 290 "end of a URL, the consent tool will load, allowing you to troubleshoot any " 291 "issues (or to reach out to Termageddon support to help assist with " 292 "troubleshooting)" 293 msgstr "" 294 295 #: admin/class-termageddon-usercentrics-admin.php:1022 283 296 msgid "" 284 297 "When enabled, you will be collecting IP addresses for the purposes of " … … 296 309 msgstr "" 297 310 298 #: admin/class-termageddon-usercentrics-admin.php:9 50311 #: admin/class-termageddon-usercentrics-admin.php:987 299 312 msgid "" 300 313 "within your Termageddon account, you will be brought to the \"View embed " … … 303 316 msgstr "" 304 317 305 #: admin/class-termageddon-usercentrics-admin.php: 968318 #: admin/class-termageddon-usercentrics-admin.php:1005 306 319 msgid "" 307 320 "you will need to enable at least one of the settings below to ensure logged " -
termageddon-usercentrics/tags/1.4.0/public/class-termageddon-usercentrics-public.php
r3052208 r3060868 155 155 } 156 156 157 // Check for Disable for troubleshooting while validating query param. 158 if (Termageddon_Usercentrics::is_disabled_for_troubleshooting()) { 159 return self::disable_termageddon_script(); 160 } 161 157 162 // Debug Display to identify locations. 158 163 if ( ( Termageddon_Usercentrics::is_geoip_enabled() || Termageddon_Usercentrics::is_debug_mode_enabled() ) -
termageddon-usercentrics/tags/1.4.0/termageddon-usercentrics.php
r3052208 r3060868 15 15 * Plugin Name: Termageddon + Usercentrics 16 16 * Description: Easily integrate the Usercentrics consent solution into your website while controlling visibility for logged in users and admins. 17 * Version: 1. 3.917 * Version: 1.4.0 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. 3.9' );36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.4.0' ); 37 37 38 38 define( 'TERMAGEDDON_COOKIE_PLUGIN_PATH', dirname( __FILE__ ) );// No trailing slash. -
termageddon-usercentrics/trunk/README.txt
r3052208 r3060868 5 5 Requires at least: 3.0.1 6 6 Tested up to: 6.4.3 7 Stable tag: 1. 3.97 Stable tag: 1.4.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 == Changelog == 28 28 29 = 1.4.0 = 30 31 - [ADD] Added ability to disable plugin for troubleshooting to all visitors unless ?enable-usercentrics is added as a query parameter to the URL. 32 29 33 = 1.3.9 = 30 34 31 35 - [CHANGE] Removed jQuery as requirement for privacy settings link. 32 36 - [Change] Enqueued jQuery where required for other implementations to avoid a missing dependency. 33 34 37 35 38 = 1.3.8 = -
termageddon-usercentrics/trunk/admin/class-termageddon-usercentrics-admin.php
r3049451 r3060868 393 393 ); 394 394 395 // BREAK SECTION FOR GEOLOCATIONSETTINGS.395 // BREAK SECTION FOR PSL SETTINGS. 396 396 $this->add_new_subsection( 397 397 'termageddon_usercentrics_section_settings', … … 441 441 ); 442 442 443 // BREAK SECTION FOR GEOLOCATION SETTINGS.443 // BREAK SECTION FOR INTEGRATION SETTINGS. 444 444 $this->add_new_subsection( 445 445 'termageddon_usercentrics_section_settings', … … 484 484 'termageddon_usercentrics_settings', // settings group name. 485 485 'termageddon_usercentrics_integration_presto_player', // option name. 486 '' // sanitization function. 487 ); 488 489 // BREAK SECTION FOR OTHER SETTINGS. 490 $this->add_new_subsection( 491 'termageddon_usercentrics_section_settings', 492 array( 493 'name' => 'Other Settings', 494 'description' => 'This section contains various other settings that can be adjusted for this plugin.', 495 ) 496 ); 497 498 // Privacy Settings Link Disable. 499 add_settings_field( 500 'termageddon_usercentrics_disable_troubleshooting', 501 __( 'Disable for Troubleshooting', 'termageddon-usercentrics' ), 502 array( &$this, 'disable_troubleshooting_html' ), // function which prints the field. 503 'termageddon-usercentrics', // page slug. 504 'termageddon_usercentrics_section_settings', // section ID. 505 array( 506 'label_for' => 'termageddon_usercentrics_disable_troubleshooting', 507 'description' => __( 'When enabled, this feature allows you to disable the consent tool for all site visitors, however by adding <code>?enable-usercentrics</code> to the end of a URL, the consent tool will load, allowing you to troubleshoot any issues (or to reach out to Termageddon support to help assist with troubleshooting)', 'termageddon-usercentrics' ), 508 ) 509 ); 510 511 register_setting( 512 'termageddon_usercentrics_settings', // settings group name. 513 'termageddon_usercentrics_disable_troubleshooting', // option name. 486 514 '' // sanitization function. 487 515 ); … … 819 847 } 820 848 /** 821 * The HTML field for the psl hidden checkbox.849 * The HTML field for the psl alternate implementation checkbox. 822 850 * 823 851 * @param array $args The arguments provided by the add_settings_field() method. … … 826 854 public function psl_alternate_implementation( array $args ) { 827 855 self::generate_checkbox( 'alternate', 'psl', $args ); 856 } 857 /** 858 * The HTML field for the disable troubleshooting checkbox. 859 * 860 * @param array $args The arguments provided by the add_settings_field() method. 861 * @return void 862 */ 863 public function disable_troubleshooting_html( array $args ) { 864 self::generate_checkbox( 'troubleshooting', 'disable', $args ); 828 865 } 829 866 /** -
termageddon-usercentrics/trunk/includes/class-termageddon-usercentrics.php
r3052208 r3060868 342 342 343 343 /** 344 * Generate a random string with specified param aters344 * Generate a random string with specified parameters 345 345 * 346 346 * @param int $length The length of string to generate. … … 742 742 743 743 /** 744 * Returns whether debug mode is enabled via the query param ater744 * Returns whether debug mode is enabled via the query parameter 745 745 * 746 746 * @return bool … … 750 750 751 751 } 752 753 754 /** 755 * Returns whether debug mode is enabled via the query paramater 752 753 754 /** 755 * Returns whether disabled for troubleshooting mode is enabled and not in the query params 756 * 757 * @return bool 758 */ 759 public static function is_disabled_for_troubleshooting() { 760 $enabled = ( get_option( 'termageddon_usercentrics_disable_troubleshooting', false ) ? true : false ); 761 762 if ($enabled && !isset($_GET['enable-usercentrics'])) return true; 763 return false; 764 765 } 766 767 768 /** 769 * Returns whether debug mode is enabled via the query parameter 756 770 * 757 771 * @return bool … … 764 778 765 779 /** 766 * Returns whether debug mode is enabled via the query param ater780 * Returns whether debug mode is enabled via the query parameter 767 781 * 768 782 * @return bool -
termageddon-usercentrics/trunk/languages/termageddon-usercentrics.pot
r3049451 r3060868 4 4 "Project-Id-Version: Termageddon + Usercentrics\n" 5 5 "Report-Msgid-Bugs-To: \n" 6 "POT-Creation-Date: 2024-03- 12 02:56+0000\n"6 "POT-Creation-Date: 2024-03-29 02:00+0000\n" 7 7 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 8 8 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 29 29 msgstr "" 30 30 31 #: admin/class-termageddon-usercentrics-admin.php: 98931 #: admin/class-termageddon-usercentrics-admin.php:1026 32 32 msgid "along with page 1 of your Privacy Policy questionnaire within " 33 33 msgstr "" 34 34 35 #: admin/class-termageddon-usercentrics-admin.php: 57535 #: admin/class-termageddon-usercentrics-admin.php:603 36 36 msgid "California (CPRA or CIPA)" 37 37 msgstr "" 38 38 39 #: admin/class-termageddon-usercentrics-admin.php:5 5739 #: admin/class-termageddon-usercentrics-admin.php:585 40 40 msgid "Canada (PIPEDA)" 41 41 msgstr "" 42 42 43 43 #. section ID. 44 #: admin/class-termageddon-usercentrics-admin.php:6 6744 #: admin/class-termageddon-usercentrics-admin.php:695 45 45 msgid "Control Panel" 46 46 msgstr "" 47 47 48 #: admin/class-termageddon-usercentrics-admin.php:9 4948 #: admin/class-termageddon-usercentrics-admin.php:986 49 49 msgid "Cookie Policy and Consent Solution" 50 50 msgstr "" … … 52 52 #: admin/class-termageddon-usercentrics-admin.php:180 53 53 msgid "Debug Information" 54 msgstr "" 55 56 #: admin/class-termageddon-usercentrics-admin.php:501 57 msgid "Disable for Troubleshooting" 54 58 msgstr "" 55 59 … … 73 77 msgstr "" 74 78 75 #: admin/class-termageddon-usercentrics-admin.php:6 2079 #: admin/class-termageddon-usercentrics-admin.php:648 76 80 msgid "Enable location logging" 77 81 msgstr "" 78 82 79 #: admin/class-termageddon-usercentrics-admin.php:6 4083 #: admin/class-termageddon-usercentrics-admin.php:668 80 84 msgid "Enable page caching support via AJAX" 81 85 msgstr "" 82 86 83 #: admin/class-termageddon-usercentrics-admin.php: 68187 #: admin/class-termageddon-usercentrics-admin.php:709 84 88 msgid "Error Count" 85 89 msgstr "" … … 89 93 msgstr "" 90 94 91 #: admin/class-termageddon-usercentrics-admin.php: 69995 #: admin/class-termageddon-usercentrics-admin.php:727 92 96 msgid "Error List" 93 97 msgstr "" 94 98 95 #: admin/class-termageddon-usercentrics-admin.php:5 2199 #: admin/class-termageddon-usercentrics-admin.php:549 96 100 msgid "European Union & European Economic Area (GDPR)" 97 101 msgstr "" … … 111 115 #. section ID. 112 116 #: admin/class-termageddon-usercentrics-admin.php:172 113 #: admin/class-termageddon-usercentrics-admin.php:5 01117 #: admin/class-termageddon-usercentrics-admin.php:529 114 118 msgid "Geo-Location" 115 119 msgstr "" 116 120 117 121 #: admin/class-termageddon-usercentrics-admin.php:143 118 #: admin/class-termageddon-usercentrics-admin.php: 998122 #: admin/class-termageddon-usercentrics-admin.php:1035 119 123 msgid "" 120 124 "Geo-Location is enabled, but no locations have been toggled on. This means " … … 154 158 msgstr "" 155 159 156 #: admin/class-termageddon-usercentrics-admin.php: 967160 #: admin/class-termageddon-usercentrics-admin.php:1004 157 161 msgid "If you are using the Divi theme" 158 162 msgstr "" 159 163 160 #: admin/class-termageddon-usercentrics-admin.php: 966164 #: admin/class-termageddon-usercentrics-admin.php:1003 161 165 msgid "" 162 166 "If you would like to remove Usercentrics for logged in users such as admins, " … … 176 180 msgstr "" 177 181 178 #: admin/class-termageddon-usercentrics-admin.php: 989182 #: admin/class-termageddon-usercentrics-admin.php:1026 179 183 msgid "Not sure what to select? Review" 180 184 msgstr "" … … 210 214 msgstr "" 211 215 212 #: admin/class-termageddon-usercentrics-admin.php: 989216 #: admin/class-termageddon-usercentrics-admin.php:1026 213 217 msgid "this article" 214 218 msgstr "" … … 226 230 msgstr "" 227 231 228 #: admin/class-termageddon-usercentrics-admin.php:10 10232 #: admin/class-termageddon-usercentrics-admin.php:1047 229 233 msgid "" 230 234 "To reset any of the backend variables, update the values below and save your " … … 232 236 msgstr "" 233 237 234 #: admin/class-termageddon-usercentrics-admin.php:5 39238 #: admin/class-termageddon-usercentrics-admin.php:567 235 239 msgid "United Kingdom (UK DPA)" 236 240 msgstr "" 237 241 238 #: admin/class-termageddon-usercentrics-admin.php:9 48242 #: admin/class-termageddon-usercentrics-admin.php:985 239 243 msgid "Upon generating your " 240 244 msgstr "" 241 245 242 #: admin/class-termageddon-usercentrics-admin.php:9 34246 #: admin/class-termageddon-usercentrics-admin.php:971 243 247 msgid "Upon saving, all previous errors in the log will be deleted." 244 248 msgstr "" 245 249 246 #: admin/class-termageddon-usercentrics-admin.php: 593250 #: admin/class-termageddon-usercentrics-admin.php:621 247 251 msgid "Virginia (VCDPA)" 248 252 msgstr "" … … 268 272 msgstr "" 269 273 270 #: admin/class-termageddon-usercentrics-admin.php:6 26274 #: admin/class-termageddon-usercentrics-admin.php:654 271 275 msgid "" 272 276 "When enabled, the visitor's location can be viewed in the browser console, " … … 274 278 msgstr "" 275 279 276 #: admin/class-termageddon-usercentrics-admin.php:6 46280 #: admin/class-termageddon-usercentrics-admin.php:674 277 281 msgid "" 278 282 "When enabled, the visitor's location is checked via javascript to allow " … … 280 284 msgstr "" 281 285 282 #: admin/class-termageddon-usercentrics-admin.php:985 286 #: admin/class-termageddon-usercentrics-admin.php:507 287 msgid "" 288 "When enabled, this feature allows you to disable the consent tool for all " 289 "site visitors, however by adding <code>?enable-usercentrics</code> to the " 290 "end of a URL, the consent tool will load, allowing you to troubleshoot any " 291 "issues (or to reach out to Termageddon support to help assist with " 292 "troubleshooting)" 293 msgstr "" 294 295 #: admin/class-termageddon-usercentrics-admin.php:1022 283 296 msgid "" 284 297 "When enabled, you will be collecting IP addresses for the purposes of " … … 296 309 msgstr "" 297 310 298 #: admin/class-termageddon-usercentrics-admin.php:9 50311 #: admin/class-termageddon-usercentrics-admin.php:987 299 312 msgid "" 300 313 "within your Termageddon account, you will be brought to the \"View embed " … … 303 316 msgstr "" 304 317 305 #: admin/class-termageddon-usercentrics-admin.php: 968318 #: admin/class-termageddon-usercentrics-admin.php:1005 306 319 msgid "" 307 320 "you will need to enable at least one of the settings below to ensure logged " -
termageddon-usercentrics/trunk/public/class-termageddon-usercentrics-public.php
r3052208 r3060868 155 155 } 156 156 157 // Check for Disable for troubleshooting while validating query param. 158 if (Termageddon_Usercentrics::is_disabled_for_troubleshooting()) { 159 return self::disable_termageddon_script(); 160 } 161 157 162 // Debug Display to identify locations. 158 163 if ( ( Termageddon_Usercentrics::is_geoip_enabled() || Termageddon_Usercentrics::is_debug_mode_enabled() ) -
termageddon-usercentrics/trunk/termageddon-usercentrics.php
r3052208 r3060868 15 15 * Plugin Name: Termageddon + Usercentrics 16 16 * Description: Easily integrate the Usercentrics consent solution into your website while controlling visibility for logged in users and admins. 17 * Version: 1. 3.917 * Version: 1.4.0 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. 3.9' );36 define( 'TERMAGEDDON_COOKIE_VERSION', '1.4.0' ); 37 37 38 38 define( 'TERMAGEDDON_COOKIE_PLUGIN_PATH', dirname( __FILE__ ) );// No trailing slash.
Note: See TracChangeset
for help on using the changeset viewer.