Changeset 3181755
- Timestamp:
- 11/04/2024 07:24:44 PM (17 months ago)
- Location:
- captcha-eu
- Files:
-
- 4 added
- 4 deleted
- 28 edited
- 1 copied
-
tags/v1.0.43 (copied) (copied from captcha-eu/trunk)
-
tags/v1.0.43/assets/js/partials/gravityforms.js (modified) (2 diffs)
-
tags/v1.0.43/composer.lock (modified) (25 diffs)
-
tags/v1.0.43/readme.txt (modified) (2 diffs)
-
tags/v1.0.43/src/Admin.php (modified) (2 diffs)
-
tags/v1.0.43/src/partials/options-settings.php (modified) (1 diff)
-
tags/v1.0.43/vendor/autoload.php (modified) (1 diff)
-
tags/v1.0.43/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/v1.0.43/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/v1.0.43/vendor/composer/installers/.git/index (modified) (previous)
-
tags/v1.0.43/vendor/composer/installers/.git/logs/HEAD (modified) (1 diff)
-
tags/v1.0.43/vendor/composer/installers/.git/logs/refs/heads/main (modified) (1 diff)
-
tags/v1.0.43/vendor/composer/installers/.git/logs/refs/remotes/origin/HEAD (modified) (1 diff)
-
tags/v1.0.43/vendor/composer/installers/.git/objects/info/packs (modified) (1 diff)
-
tags/v1.0.43/vendor/composer/installers/.git/objects/pack/pack-879077bfd396a73ba8357e3c4d380fa9d8440574.idx (added)
-
tags/v1.0.43/vendor/composer/installers/.git/objects/pack/pack-879077bfd396a73ba8357e3c4d380fa9d8440574.pack (added)
-
tags/v1.0.43/vendor/composer/installers/.git/objects/pack/pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.idx (deleted)
-
tags/v1.0.43/vendor/composer/installers/.git/objects/pack/pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.pack (deleted)
-
tags/v1.0.43/wp-captcha.php (modified) (1 diff)
-
trunk/assets/js/partials/gravityforms.js (modified) (2 diffs)
-
trunk/composer.lock (modified) (25 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Admin.php (modified) (2 diffs)
-
trunk/src/partials/options-settings.php (modified) (1 diff)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installers/.git/index (modified) (previous)
-
trunk/vendor/composer/installers/.git/logs/HEAD (modified) (1 diff)
-
trunk/vendor/composer/installers/.git/logs/refs/heads/main (modified) (1 diff)
-
trunk/vendor/composer/installers/.git/logs/refs/remotes/origin/HEAD (modified) (1 diff)
-
trunk/vendor/composer/installers/.git/objects/info/packs (modified) (1 diff)
-
trunk/vendor/composer/installers/.git/objects/pack/pack-879077bfd396a73ba8357e3c4d380fa9d8440574.idx (added)
-
trunk/vendor/composer/installers/.git/objects/pack/pack-879077bfd396a73ba8357e3c4d380fa9d8440574.pack (added)
-
trunk/vendor/composer/installers/.git/objects/pack/pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.idx (deleted)
-
trunk/vendor/composer/installers/.git/objects/pack/pack-acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.pack (deleted)
-
trunk/wp-captcha.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
captcha-eu/tags/v1.0.43/assets/js/partials/gravityforms.js
r3072661 r3181755 1 1 // Gravity Forms 2 jQuery(document).ready(function () {2 jQuery(document).ready(function () { 3 3 var $forms = jQuery('.gform_wrapper form'); 4 4 5 $forms.each(function () {5 $forms.each(function () { 6 6 var $form = jQuery(this); 7 if ($form.hasClass("cpt_disable")) {7 if ($form.hasClass("cpt_disable")) { 8 8 return; 9 9 } 10 10 var $btn = $form.find(':submit'); 11 11 12 13 if (captchaAt.plugins.includes("gravityforms-widget")) { 14 $form.find(".gform_footer").before('<div class="cpt_widget" data-field-selector="#captcha_at_solution" style="background: transparent;" data-key="' + captchaAt.publicKey + '">aaa</div><input type="hidden" id="captcha_at_solution" name="captcha_at_solution">'); 15 KROT.init(); 16 return; 17 } 18 12 19 KROT.interceptForm($form[0]); 13 20 14 $btn.click(function (e) {21 $btn.click(function (e) { 15 22 var $btn = jQuery(this); 16 23 var form = $btn.closest('form')[0]; … … 23 30 form.submit(); 24 31 $btn.attr('disabled', false); 25 });32 }); 26 33 }) 27 34 }); -
captcha-eu/tags/v1.0.43/composer.lock
r3174180 r3181755 1247 1247 { 1248 1248 "name": "jms/serializer", 1249 "version": "3.3 0.0",1249 "version": "3.31.1", 1250 1250 "source": { 1251 1251 "type": "git", 1252 1252 "url": "https://github.com/schmittjoh/serializer.git", 1253 "reference": " bf1105358123d7c02ee6cad08ea33ab535a09d5e"1254 }, 1255 "dist": { 1256 "type": "zip", 1257 "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/ bf1105358123d7c02ee6cad08ea33ab535a09d5e",1258 "reference": " bf1105358123d7c02ee6cad08ea33ab535a09d5e",1253 "reference": "362503da26673f210221c25b99c795da718ad9aa" 1254 }, 1255 "dist": { 1256 "type": "zip", 1257 "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/362503da26673f210221c25b99c795da718ad9aa", 1258 "reference": "362503da26673f210221c25b99c795da718ad9aa", 1259 1259 "shasum": "" 1260 1260 }, … … 1276 1276 "ocramius/proxy-manager": "^1.0 || ^2.0", 1277 1277 "phpbench/phpbench": "^1.0", 1278 "phpstan/phpstan": "^1. 0.2",1279 "phpunit/phpunit": "^9.0 || ^10.0 ",1278 "phpstan/phpstan": "^1.10.57", 1279 "phpunit/phpunit": "^9.0 || ^10.0 || ^11.0", 1280 1280 "psr/container": "^1.0 || ^2.0", 1281 "rector/rector": "^ 0.19.0",1281 "rector/rector": "^1.0.0", 1282 1282 "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0", 1283 1283 "symfony/expression-language": "^5.4 || ^6.0 || ^7.0", … … 1332 1332 "support": { 1333 1333 "issues": "https://github.com/schmittjoh/serializer/issues", 1334 "source": "https://github.com/schmittjoh/serializer/tree/3.3 0.0"1334 "source": "https://github.com/schmittjoh/serializer/tree/3.31.1" 1335 1335 }, 1336 1336 "funding": [ … … 1340 1340 } 1341 1341 ], 1342 "time": "2024- 02-24T14:12:14+00:00"1342 "time": "2024-10-31T18:35:14+00:00" 1343 1343 }, 1344 1344 { … … 4090 4090 { 4091 4091 "name": "symfony/console", 4092 "version": "v5.4.4 4",4092 "version": "v5.4.45", 4093 4093 "source": { 4094 4094 "type": "git", 4095 4095 "url": "https://github.com/symfony/console.git", 4096 "reference": " 5b5a0aa66e3296e303e22490f90f521551835a83"4097 }, 4098 "dist": { 4099 "type": "zip", 4100 "url": "https://api.github.com/repos/symfony/console/zipball/ 5b5a0aa66e3296e303e22490f90f521551835a83",4101 "reference": " 5b5a0aa66e3296e303e22490f90f521551835a83",4096 "reference": "108d436c2af470858bdaba3257baab3a74172017" 4097 }, 4098 "dist": { 4099 "type": "zip", 4100 "url": "https://api.github.com/repos/symfony/console/zipball/108d436c2af470858bdaba3257baab3a74172017", 4101 "reference": "108d436c2af470858bdaba3257baab3a74172017", 4102 4102 "shasum": "" 4103 4103 }, … … 4169 4169 ], 4170 4170 "support": { 4171 "source": "https://github.com/symfony/console/tree/v5.4.4 4"4171 "source": "https://github.com/symfony/console/tree/v5.4.45" 4172 4172 }, 4173 4173 "funding": [ … … 4185 4185 } 4186 4186 ], 4187 "time": "2024- 09-20T07:56:40+00:00"4187 "time": "2024-10-08T07:27:17+00:00" 4188 4188 }, 4189 4189 { … … 4256 4256 { 4257 4257 "name": "symfony/event-dispatcher", 4258 "version": "v5.4.4 0",4258 "version": "v5.4.45", 4259 4259 "source": { 4260 4260 "type": "git", 4261 4261 "url": "https://github.com/symfony/event-dispatcher.git", 4262 "reference": " a54e2a8a114065f31020d6a89ede83e34c3b27a4"4263 }, 4264 "dist": { 4265 "type": "zip", 4266 "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ a54e2a8a114065f31020d6a89ede83e34c3b27a4",4267 "reference": " a54e2a8a114065f31020d6a89ede83e34c3b27a4",4262 "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9" 4263 }, 4264 "dist": { 4265 "type": "zip", 4266 "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/72982eb416f61003e9bb6e91f8b3213600dcf9e9", 4267 "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9", 4268 4268 "shasum": "" 4269 4269 }, … … 4321 4321 "homepage": "https://symfony.com", 4322 4322 "support": { 4323 "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.4 0"4323 "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.45" 4324 4324 }, 4325 4325 "funding": [ … … 4337 4337 } 4338 4338 ], 4339 "time": "2024-0 5-31T14:33:22+00:00"4339 "time": "2024-09-25T14:11:13+00:00" 4340 4340 }, 4341 4341 { … … 4420 4420 { 4421 4421 "name": "symfony/filesystem", 4422 "version": "v5.4.4 4",4422 "version": "v5.4.45", 4423 4423 "source": { 4424 4424 "type": "git", 4425 4425 "url": "https://github.com/symfony/filesystem.git", 4426 "reference": " 76c3818964e9d32be3862c9318ae3ba9aa280ddc"4427 }, 4428 "dist": { 4429 "type": "zip", 4430 "url": "https://api.github.com/repos/symfony/filesystem/zipball/ 76c3818964e9d32be3862c9318ae3ba9aa280ddc",4431 "reference": " 76c3818964e9d32be3862c9318ae3ba9aa280ddc",4426 "reference": "57c8294ed37d4a055b77057827c67f9558c95c54" 4427 }, 4428 "dist": { 4429 "type": "zip", 4430 "url": "https://api.github.com/repos/symfony/filesystem/zipball/57c8294ed37d4a055b77057827c67f9558c95c54", 4431 "reference": "57c8294ed37d4a055b77057827c67f9558c95c54", 4432 4432 "shasum": "" 4433 4433 }, … … 4467 4467 "homepage": "https://symfony.com", 4468 4468 "support": { 4469 "source": "https://github.com/symfony/filesystem/tree/v5.4.4 4"4469 "source": "https://github.com/symfony/filesystem/tree/v5.4.45" 4470 4470 }, 4471 4471 "funding": [ … … 4483 4483 } 4484 4484 ], 4485 "time": "2024- 09-16T14:52:48+00:00"4485 "time": "2024-10-22T13:05:35+00:00" 4486 4486 }, 4487 4487 { 4488 4488 "name": "symfony/finder", 4489 "version": "v5.4.4 3",4489 "version": "v5.4.45", 4490 4490 "source": { 4491 4491 "type": "git", 4492 4492 "url": "https://github.com/symfony/finder.git", 4493 "reference": " ae25a9145a900764158d439653d5630191155ca0"4494 }, 4495 "dist": { 4496 "type": "zip", 4497 "url": "https://api.github.com/repos/symfony/finder/zipball/ ae25a9145a900764158d439653d5630191155ca0",4498 "reference": " ae25a9145a900764158d439653d5630191155ca0",4493 "reference": "63741784cd7b9967975eec610b256eed3ede022b" 4494 }, 4495 "dist": { 4496 "type": "zip", 4497 "url": "https://api.github.com/repos/symfony/finder/zipball/63741784cd7b9967975eec610b256eed3ede022b", 4498 "reference": "63741784cd7b9967975eec610b256eed3ede022b", 4499 4499 "shasum": "" 4500 4500 }, … … 4530 4530 "homepage": "https://symfony.com", 4531 4531 "support": { 4532 "source": "https://github.com/symfony/finder/tree/v5.4.4 3"4532 "source": "https://github.com/symfony/finder/tree/v5.4.45" 4533 4533 }, 4534 4534 "funding": [ … … 4546 4546 } 4547 4547 ], 4548 "time": "2024-0 8-13T14:03:51+00:00"4548 "time": "2024-09-28T13:32:08+00:00" 4549 4549 }, 4550 4550 { 4551 4551 "name": "symfony/options-resolver", 4552 "version": "v5.4.4 0",4552 "version": "v5.4.45", 4553 4553 "source": { 4554 4554 "type": "git", 4555 4555 "url": "https://github.com/symfony/options-resolver.git", 4556 "reference": " bd1afbde6613a8d6b956115e0e14b196191fd0c4"4557 }, 4558 "dist": { 4559 "type": "zip", 4560 "url": "https://api.github.com/repos/symfony/options-resolver/zipball/ bd1afbde6613a8d6b956115e0e14b196191fd0c4",4561 "reference": " bd1afbde6613a8d6b956115e0e14b196191fd0c4",4556 "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6" 4557 }, 4558 "dist": { 4559 "type": "zip", 4560 "url": "https://api.github.com/repos/symfony/options-resolver/zipball/74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6", 4561 "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6", 4562 4562 "shasum": "" 4563 4563 }, … … 4599 4599 ], 4600 4600 "support": { 4601 "source": "https://github.com/symfony/options-resolver/tree/v5.4.4 0"4601 "source": "https://github.com/symfony/options-resolver/tree/v5.4.45" 4602 4602 }, 4603 4603 "funding": [ … … 4615 4615 } 4616 4616 ], 4617 "time": "2024-0 5-31T14:33:22+00:00"4617 "time": "2024-09-25T14:11:13+00:00" 4618 4618 }, 4619 4619 { … … 5169 5169 { 5170 5170 "name": "symfony/process", 5171 "version": "v5.4.4 4",5171 "version": "v5.4.45", 5172 5172 "source": { 5173 5173 "type": "git", 5174 5174 "url": "https://github.com/symfony/process.git", 5175 "reference": " 1b9fa82b5c62cd49da8c9e3952dd8531ada65096"5176 }, 5177 "dist": { 5178 "type": "zip", 5179 "url": "https://api.github.com/repos/symfony/process/zipball/ 1b9fa82b5c62cd49da8c9e3952dd8531ada65096",5180 "reference": " 1b9fa82b5c62cd49da8c9e3952dd8531ada65096",5175 "reference": "95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4" 5176 }, 5177 "dist": { 5178 "type": "zip", 5179 "url": "https://api.github.com/repos/symfony/process/zipball/95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4", 5180 "reference": "95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4", 5181 5181 "shasum": "" 5182 5182 }, … … 5211 5211 "homepage": "https://symfony.com", 5212 5212 "support": { 5213 "source": "https://github.com/symfony/process/tree/v5.4.4 4"5213 "source": "https://github.com/symfony/process/tree/v5.4.45" 5214 5214 }, 5215 5215 "funding": [ … … 5227 5227 } 5228 5228 ], 5229 "time": "2024-09- 17T12:46:43+00:00"5229 "time": "2024-09-25T14:11:13+00:00" 5230 5230 }, 5231 5231 { … … 5314 5314 { 5315 5315 "name": "symfony/stopwatch", 5316 "version": "v5.4.4 0",5316 "version": "v5.4.45", 5317 5317 "source": { 5318 5318 "type": "git", 5319 5319 "url": "https://github.com/symfony/stopwatch.git", 5320 "reference": " 0e9daf3b7c805c747638b2cc48f1649e594f9625"5321 }, 5322 "dist": { 5323 "type": "zip", 5324 "url": "https://api.github.com/repos/symfony/stopwatch/zipball/ 0e9daf3b7c805c747638b2cc48f1649e594f9625",5325 "reference": " 0e9daf3b7c805c747638b2cc48f1649e594f9625",5320 "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004" 5321 }, 5322 "dist": { 5323 "type": "zip", 5324 "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fb2c199cf302eb207f8c23e7ee174c1c31a5c004", 5325 "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004", 5326 5326 "shasum": "" 5327 5327 }, … … 5356 5356 "homepage": "https://symfony.com", 5357 5357 "support": { 5358 "source": "https://github.com/symfony/stopwatch/tree/v5.4.4 0"5358 "source": "https://github.com/symfony/stopwatch/tree/v5.4.45" 5359 5359 }, 5360 5360 "funding": [ … … 5372 5372 } 5373 5373 ], 5374 "time": "2024-0 5-31T14:33:22+00:00"5374 "time": "2024-09-25T14:11:13+00:00" 5375 5375 }, 5376 5376 { 5377 5377 "name": "symfony/string", 5378 "version": "v5.4.4 4",5378 "version": "v5.4.45", 5379 5379 "source": { 5380 5380 "type": "git", 5381 5381 "url": "https://github.com/symfony/string.git", 5382 "reference": " 832caa16b6d9aac6bf11747315225f5aba384c24"5383 }, 5384 "dist": { 5385 "type": "zip", 5386 "url": "https://api.github.com/repos/symfony/string/zipball/ 832caa16b6d9aac6bf11747315225f5aba384c24",5387 "reference": " 832caa16b6d9aac6bf11747315225f5aba384c24",5382 "reference": "7f6807add88b1e2635f3c6de5e1ace631ed7cad2" 5383 }, 5384 "dist": { 5385 "type": "zip", 5386 "url": "https://api.github.com/repos/symfony/string/zipball/7f6807add88b1e2635f3c6de5e1ace631ed7cad2", 5387 "reference": "7f6807add88b1e2635f3c6de5e1ace631ed7cad2", 5388 5388 "shasum": "" 5389 5389 }, … … 5442 5442 ], 5443 5443 "support": { 5444 "source": "https://github.com/symfony/string/tree/v5.4.4 4"5444 "source": "https://github.com/symfony/string/tree/v5.4.45" 5445 5445 }, 5446 5446 "funding": [ … … 5458 5458 } 5459 5459 ], 5460 "time": "2024-09-2 0T07:56:40+00:00"5460 "time": "2024-09-25T14:11:13+00:00" 5461 5461 }, 5462 5462 { -
captcha-eu/tags/v1.0.43/readme.txt
r3175677 r3181755 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.0 7 Stable tag: 1.0.4 17 Stable tag: 1.0.43 8 8 License: GPL 9 9 License URI: https://opensource.org/license/gpl/ … … 61 61 62 62 == Changelog == 63 = v1.0.43 = 64 gravity forms: improve re-try'ing and also add "widget" as an option! 63 65 = v1.0.42 = 64 66 fix woocommerce checkout -
captcha-eu/tags/v1.0.43/src/Admin.php
r3175677 r3181755 434 434 } 435 435 436 public function gform_abort_submission_with_confirmation($do_abort, $form) 437 { 436 public function gform_validation($validation_result) 437 { 438 $form = $validation_result['form']; 439 438 440 // GFORM opt out, if CSS Class cpt_disable is added, we ignore the spam check 439 // this, at first, might look like an easy bypass 440 // JS logic is disabled 441 // no sol arrives 442 // config is loaded exclusivly from server-side 443 if(isset($form["cssClass"]) && preg_match("/cpt_disable/", $form["cssClass"])) { 444 return false; 445 } 441 if (isset($form["cssClass"]) && preg_match("/cpt_disable/", $form["cssClass"])) { 442 return $validation_result; 443 } 444 446 445 // Allow short circuit by filter 447 446 $skipAbort = false; 448 447 $skipAbort = apply_filters('cpt_gform_skip_abort', $skipAbort, $form); 449 // if filter canceled, abort the abort 🤣 450 if($skipAbort) { 451 return false; 452 } 453 if ($do_abort) { 454 return $do_abort; 455 } 456 if (! isset($_POST['captcha_at_solution'])) { 457 return true; 448 if ($skipAbort) { 449 return $validation_result; 450 } 451 452 if (!isset($_POST['captcha_at_solution'])) { 453 $validation_result['is_valid'] = false; 454 add_filter('gform_validation_message', function ($message) { 455 return __('Captcha.eu - Please try again (error: gravity-e0)', 'captcha-eu'); 456 }); 457 return $validation_result; 458 458 } 459 459 460 460 $allow = $this->core->validate(sanitize_text_field(wp_unslash($_POST['captcha_at_solution']))); 461 if (! $allow) { 462 return true; 463 } 464 465 return $do_abort; 466 } 467 461 if (!$allow) { 462 $validation_result['is_valid'] = false; 463 add_filter('gform_validation_message', function ($message) { 464 return __('Captcha.eu - Please try again (error: gravity-e1)', 'captcha-eu'); 465 }); 466 return $validation_result; 467 } 468 469 return $validation_result; 470 } 468 471 public function ninja_forms_submit_data($formData) 469 472 { … … 1088 1091 // Gravity Forms 1089 1092 if (in_array('gravityforms', $selectedPlugins)) { 1090 add_filter('gform_abort_submission_with_confirmation', [$this, 'gform_abort_submission_with_confirmation'], 10, 2); 1091 add_filter('gform_confirmation', function ($confirmation, $form, $entry) { 1092 if (empty($entry) || 'spam' === rgar($entry, 'status')) { 1093 return __('Spam declined', 'captcha-eu'); 1094 } 1095 1096 return $confirmation; 1097 }, 11, 3); 1093 add_filter('gform_validation', [$this, 'gform_validation'], 10, 1); 1098 1094 } 1099 1095 -
captcha-eu/tags/v1.0.43/src/partials/options-settings.php
r3174180 r3181755 115 115 'choices' => [ 116 116 'gravityforms' => __('Enable', 'captcha-eu'), 117 'gravityforms-widget' => __('Use Widget', 'captcha-eu'), 117 118 ], 118 119 ], -
captcha-eu/tags/v1.0.43/vendor/autoload.php
r3175677 r3181755 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 3c89e272b7e550f2e3e8949316cc4758::getLoader();25 return ComposerAutoloaderInitf09cbe0fe725f87368f504b60804f22d::getLoader(); -
captcha-eu/tags/v1.0.43/vendor/composer/autoload_real.php
r3175677 r3181755 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 3c89e272b7e550f2e3e8949316cc47585 class ComposerAutoloaderInitf09cbe0fe725f87368f504b60804f22d 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 3c89e272b7e550f2e3e8949316cc4758', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitf09cbe0fe725f87368f504b60804f22d', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 3c89e272b7e550f2e3e8949316cc4758', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitf09cbe0fe725f87368f504b60804f22d', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 3c89e272b7e550f2e3e8949316cc4758::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitf09cbe0fe725f87368f504b60804f22d::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
captcha-eu/tags/v1.0.43/vendor/composer/autoload_static.php
r3175677 r3181755 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 3c89e272b7e550f2e3e8949316cc47587 class ComposerStaticInitf09cbe0fe725f87368f504b60804f22d 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 33 33 { 34 34 return \Closure::bind(function () use ($loader) { 35 $loader->prefixLengthsPsr4 = ComposerStaticInit 3c89e272b7e550f2e3e8949316cc4758::$prefixLengthsPsr4;36 $loader->prefixDirsPsr4 = ComposerStaticInit 3c89e272b7e550f2e3e8949316cc4758::$prefixDirsPsr4;37 $loader->classMap = ComposerStaticInit 3c89e272b7e550f2e3e8949316cc4758::$classMap;35 $loader->prefixLengthsPsr4 = ComposerStaticInitf09cbe0fe725f87368f504b60804f22d::$prefixLengthsPsr4; 36 $loader->prefixDirsPsr4 = ComposerStaticInitf09cbe0fe725f87368f504b60804f22d::$prefixDirsPsr4; 37 $loader->classMap = ComposerStaticInitf09cbe0fe725f87368f504b60804f22d::$classMap; 38 38 39 39 }, null, ClassLoader::class); -
captcha-eu/tags/v1.0.43/vendor/composer/installers/.git/logs/HEAD
r3175677 r3181755 1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 17 29860237+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/2 a24c987073cb81d1116308fe1a5970b2908cb36f d20a64ed3c94748397ff5973488761b22f6d3f19 Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 17 29860237+0000 checkout: moving from main to v1.12.01 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730748262 +0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/ 2 a24c987073cb81d1116308fe1a5970b2908cb36f d20a64ed3c94748397ff5973488761b22f6d3f19 Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730748262 +0000 checkout: moving from main to v1.12.0 -
captcha-eu/tags/v1.0.43/vendor/composer/installers/.git/logs/refs/heads/main
r3175677 r3181755 1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 17 29860237+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730748262 +0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/ -
captcha-eu/tags/v1.0.43/vendor/composer/installers/.git/logs/refs/remotes/origin/HEAD
r3175677 r3181755 1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 17 29860237+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730748262 +0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/ -
captcha-eu/tags/v1.0.43/vendor/composer/installers/.git/objects/info/packs
r3175677 r3181755 1 P pack- acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.pack1 P pack-879077bfd396a73ba8357e3c4d380fa9d8440574.pack 2 2 -
captcha-eu/tags/v1.0.43/wp-captcha.php
r3175677 r3181755 4 4 * Description: Captcha.eu provides a GDPR compliant protection against bots and spammers. 5 5 * Plugin URI: https://www.captcha.eu 6 * Version: 1.0.4 16 * Version: 1.0.43 7 7 * Author: captchaeu 8 8 * Author URI: https://profiles.wordpress.org/captchaeu/ -
captcha-eu/trunk/assets/js/partials/gravityforms.js
r3072661 r3181755 1 1 // Gravity Forms 2 jQuery(document).ready(function () {2 jQuery(document).ready(function () { 3 3 var $forms = jQuery('.gform_wrapper form'); 4 4 5 $forms.each(function () {5 $forms.each(function () { 6 6 var $form = jQuery(this); 7 if ($form.hasClass("cpt_disable")) {7 if ($form.hasClass("cpt_disable")) { 8 8 return; 9 9 } 10 10 var $btn = $form.find(':submit'); 11 11 12 13 if (captchaAt.plugins.includes("gravityforms-widget")) { 14 $form.find(".gform_footer").before('<div class="cpt_widget" data-field-selector="#captcha_at_solution" style="background: transparent;" data-key="' + captchaAt.publicKey + '">aaa</div><input type="hidden" id="captcha_at_solution" name="captcha_at_solution">'); 15 KROT.init(); 16 return; 17 } 18 12 19 KROT.interceptForm($form[0]); 13 20 14 $btn.click(function (e) {21 $btn.click(function (e) { 15 22 var $btn = jQuery(this); 16 23 var form = $btn.closest('form')[0]; … … 23 30 form.submit(); 24 31 $btn.attr('disabled', false); 25 });32 }); 26 33 }) 27 34 }); -
captcha-eu/trunk/composer.lock
r3174180 r3181755 1247 1247 { 1248 1248 "name": "jms/serializer", 1249 "version": "3.3 0.0",1249 "version": "3.31.1", 1250 1250 "source": { 1251 1251 "type": "git", 1252 1252 "url": "https://github.com/schmittjoh/serializer.git", 1253 "reference": " bf1105358123d7c02ee6cad08ea33ab535a09d5e"1254 }, 1255 "dist": { 1256 "type": "zip", 1257 "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/ bf1105358123d7c02ee6cad08ea33ab535a09d5e",1258 "reference": " bf1105358123d7c02ee6cad08ea33ab535a09d5e",1253 "reference": "362503da26673f210221c25b99c795da718ad9aa" 1254 }, 1255 "dist": { 1256 "type": "zip", 1257 "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/362503da26673f210221c25b99c795da718ad9aa", 1258 "reference": "362503da26673f210221c25b99c795da718ad9aa", 1259 1259 "shasum": "" 1260 1260 }, … … 1276 1276 "ocramius/proxy-manager": "^1.0 || ^2.0", 1277 1277 "phpbench/phpbench": "^1.0", 1278 "phpstan/phpstan": "^1. 0.2",1279 "phpunit/phpunit": "^9.0 || ^10.0 ",1278 "phpstan/phpstan": "^1.10.57", 1279 "phpunit/phpunit": "^9.0 || ^10.0 || ^11.0", 1280 1280 "psr/container": "^1.0 || ^2.0", 1281 "rector/rector": "^ 0.19.0",1281 "rector/rector": "^1.0.0", 1282 1282 "symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0", 1283 1283 "symfony/expression-language": "^5.4 || ^6.0 || ^7.0", … … 1332 1332 "support": { 1333 1333 "issues": "https://github.com/schmittjoh/serializer/issues", 1334 "source": "https://github.com/schmittjoh/serializer/tree/3.3 0.0"1334 "source": "https://github.com/schmittjoh/serializer/tree/3.31.1" 1335 1335 }, 1336 1336 "funding": [ … … 1340 1340 } 1341 1341 ], 1342 "time": "2024- 02-24T14:12:14+00:00"1342 "time": "2024-10-31T18:35:14+00:00" 1343 1343 }, 1344 1344 { … … 4090 4090 { 4091 4091 "name": "symfony/console", 4092 "version": "v5.4.4 4",4092 "version": "v5.4.45", 4093 4093 "source": { 4094 4094 "type": "git", 4095 4095 "url": "https://github.com/symfony/console.git", 4096 "reference": " 5b5a0aa66e3296e303e22490f90f521551835a83"4097 }, 4098 "dist": { 4099 "type": "zip", 4100 "url": "https://api.github.com/repos/symfony/console/zipball/ 5b5a0aa66e3296e303e22490f90f521551835a83",4101 "reference": " 5b5a0aa66e3296e303e22490f90f521551835a83",4096 "reference": "108d436c2af470858bdaba3257baab3a74172017" 4097 }, 4098 "dist": { 4099 "type": "zip", 4100 "url": "https://api.github.com/repos/symfony/console/zipball/108d436c2af470858bdaba3257baab3a74172017", 4101 "reference": "108d436c2af470858bdaba3257baab3a74172017", 4102 4102 "shasum": "" 4103 4103 }, … … 4169 4169 ], 4170 4170 "support": { 4171 "source": "https://github.com/symfony/console/tree/v5.4.4 4"4171 "source": "https://github.com/symfony/console/tree/v5.4.45" 4172 4172 }, 4173 4173 "funding": [ … … 4185 4185 } 4186 4186 ], 4187 "time": "2024- 09-20T07:56:40+00:00"4187 "time": "2024-10-08T07:27:17+00:00" 4188 4188 }, 4189 4189 { … … 4256 4256 { 4257 4257 "name": "symfony/event-dispatcher", 4258 "version": "v5.4.4 0",4258 "version": "v5.4.45", 4259 4259 "source": { 4260 4260 "type": "git", 4261 4261 "url": "https://github.com/symfony/event-dispatcher.git", 4262 "reference": " a54e2a8a114065f31020d6a89ede83e34c3b27a4"4263 }, 4264 "dist": { 4265 "type": "zip", 4266 "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ a54e2a8a114065f31020d6a89ede83e34c3b27a4",4267 "reference": " a54e2a8a114065f31020d6a89ede83e34c3b27a4",4262 "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9" 4263 }, 4264 "dist": { 4265 "type": "zip", 4266 "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/72982eb416f61003e9bb6e91f8b3213600dcf9e9", 4267 "reference": "72982eb416f61003e9bb6e91f8b3213600dcf9e9", 4268 4268 "shasum": "" 4269 4269 }, … … 4321 4321 "homepage": "https://symfony.com", 4322 4322 "support": { 4323 "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.4 0"4323 "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.45" 4324 4324 }, 4325 4325 "funding": [ … … 4337 4337 } 4338 4338 ], 4339 "time": "2024-0 5-31T14:33:22+00:00"4339 "time": "2024-09-25T14:11:13+00:00" 4340 4340 }, 4341 4341 { … … 4420 4420 { 4421 4421 "name": "symfony/filesystem", 4422 "version": "v5.4.4 4",4422 "version": "v5.4.45", 4423 4423 "source": { 4424 4424 "type": "git", 4425 4425 "url": "https://github.com/symfony/filesystem.git", 4426 "reference": " 76c3818964e9d32be3862c9318ae3ba9aa280ddc"4427 }, 4428 "dist": { 4429 "type": "zip", 4430 "url": "https://api.github.com/repos/symfony/filesystem/zipball/ 76c3818964e9d32be3862c9318ae3ba9aa280ddc",4431 "reference": " 76c3818964e9d32be3862c9318ae3ba9aa280ddc",4426 "reference": "57c8294ed37d4a055b77057827c67f9558c95c54" 4427 }, 4428 "dist": { 4429 "type": "zip", 4430 "url": "https://api.github.com/repos/symfony/filesystem/zipball/57c8294ed37d4a055b77057827c67f9558c95c54", 4431 "reference": "57c8294ed37d4a055b77057827c67f9558c95c54", 4432 4432 "shasum": "" 4433 4433 }, … … 4467 4467 "homepage": "https://symfony.com", 4468 4468 "support": { 4469 "source": "https://github.com/symfony/filesystem/tree/v5.4.4 4"4469 "source": "https://github.com/symfony/filesystem/tree/v5.4.45" 4470 4470 }, 4471 4471 "funding": [ … … 4483 4483 } 4484 4484 ], 4485 "time": "2024- 09-16T14:52:48+00:00"4485 "time": "2024-10-22T13:05:35+00:00" 4486 4486 }, 4487 4487 { 4488 4488 "name": "symfony/finder", 4489 "version": "v5.4.4 3",4489 "version": "v5.4.45", 4490 4490 "source": { 4491 4491 "type": "git", 4492 4492 "url": "https://github.com/symfony/finder.git", 4493 "reference": " ae25a9145a900764158d439653d5630191155ca0"4494 }, 4495 "dist": { 4496 "type": "zip", 4497 "url": "https://api.github.com/repos/symfony/finder/zipball/ ae25a9145a900764158d439653d5630191155ca0",4498 "reference": " ae25a9145a900764158d439653d5630191155ca0",4493 "reference": "63741784cd7b9967975eec610b256eed3ede022b" 4494 }, 4495 "dist": { 4496 "type": "zip", 4497 "url": "https://api.github.com/repos/symfony/finder/zipball/63741784cd7b9967975eec610b256eed3ede022b", 4498 "reference": "63741784cd7b9967975eec610b256eed3ede022b", 4499 4499 "shasum": "" 4500 4500 }, … … 4530 4530 "homepage": "https://symfony.com", 4531 4531 "support": { 4532 "source": "https://github.com/symfony/finder/tree/v5.4.4 3"4532 "source": "https://github.com/symfony/finder/tree/v5.4.45" 4533 4533 }, 4534 4534 "funding": [ … … 4546 4546 } 4547 4547 ], 4548 "time": "2024-0 8-13T14:03:51+00:00"4548 "time": "2024-09-28T13:32:08+00:00" 4549 4549 }, 4550 4550 { 4551 4551 "name": "symfony/options-resolver", 4552 "version": "v5.4.4 0",4552 "version": "v5.4.45", 4553 4553 "source": { 4554 4554 "type": "git", 4555 4555 "url": "https://github.com/symfony/options-resolver.git", 4556 "reference": " bd1afbde6613a8d6b956115e0e14b196191fd0c4"4557 }, 4558 "dist": { 4559 "type": "zip", 4560 "url": "https://api.github.com/repos/symfony/options-resolver/zipball/ bd1afbde6613a8d6b956115e0e14b196191fd0c4",4561 "reference": " bd1afbde6613a8d6b956115e0e14b196191fd0c4",4556 "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6" 4557 }, 4558 "dist": { 4559 "type": "zip", 4560 "url": "https://api.github.com/repos/symfony/options-resolver/zipball/74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6", 4561 "reference": "74e5b6f0db3e8589e6cfd5efb317a1fc2bb52fb6", 4562 4562 "shasum": "" 4563 4563 }, … … 4599 4599 ], 4600 4600 "support": { 4601 "source": "https://github.com/symfony/options-resolver/tree/v5.4.4 0"4601 "source": "https://github.com/symfony/options-resolver/tree/v5.4.45" 4602 4602 }, 4603 4603 "funding": [ … … 4615 4615 } 4616 4616 ], 4617 "time": "2024-0 5-31T14:33:22+00:00"4617 "time": "2024-09-25T14:11:13+00:00" 4618 4618 }, 4619 4619 { … … 5169 5169 { 5170 5170 "name": "symfony/process", 5171 "version": "v5.4.4 4",5171 "version": "v5.4.45", 5172 5172 "source": { 5173 5173 "type": "git", 5174 5174 "url": "https://github.com/symfony/process.git", 5175 "reference": " 1b9fa82b5c62cd49da8c9e3952dd8531ada65096"5176 }, 5177 "dist": { 5178 "type": "zip", 5179 "url": "https://api.github.com/repos/symfony/process/zipball/ 1b9fa82b5c62cd49da8c9e3952dd8531ada65096",5180 "reference": " 1b9fa82b5c62cd49da8c9e3952dd8531ada65096",5175 "reference": "95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4" 5176 }, 5177 "dist": { 5178 "type": "zip", 5179 "url": "https://api.github.com/repos/symfony/process/zipball/95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4", 5180 "reference": "95f3f19d0f8f06e4253c66a0828ddb69f8b8ede4", 5181 5181 "shasum": "" 5182 5182 }, … … 5211 5211 "homepage": "https://symfony.com", 5212 5212 "support": { 5213 "source": "https://github.com/symfony/process/tree/v5.4.4 4"5213 "source": "https://github.com/symfony/process/tree/v5.4.45" 5214 5214 }, 5215 5215 "funding": [ … … 5227 5227 } 5228 5228 ], 5229 "time": "2024-09- 17T12:46:43+00:00"5229 "time": "2024-09-25T14:11:13+00:00" 5230 5230 }, 5231 5231 { … … 5314 5314 { 5315 5315 "name": "symfony/stopwatch", 5316 "version": "v5.4.4 0",5316 "version": "v5.4.45", 5317 5317 "source": { 5318 5318 "type": "git", 5319 5319 "url": "https://github.com/symfony/stopwatch.git", 5320 "reference": " 0e9daf3b7c805c747638b2cc48f1649e594f9625"5321 }, 5322 "dist": { 5323 "type": "zip", 5324 "url": "https://api.github.com/repos/symfony/stopwatch/zipball/ 0e9daf3b7c805c747638b2cc48f1649e594f9625",5325 "reference": " 0e9daf3b7c805c747638b2cc48f1649e594f9625",5320 "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004" 5321 }, 5322 "dist": { 5323 "type": "zip", 5324 "url": "https://api.github.com/repos/symfony/stopwatch/zipball/fb2c199cf302eb207f8c23e7ee174c1c31a5c004", 5325 "reference": "fb2c199cf302eb207f8c23e7ee174c1c31a5c004", 5326 5326 "shasum": "" 5327 5327 }, … … 5356 5356 "homepage": "https://symfony.com", 5357 5357 "support": { 5358 "source": "https://github.com/symfony/stopwatch/tree/v5.4.4 0"5358 "source": "https://github.com/symfony/stopwatch/tree/v5.4.45" 5359 5359 }, 5360 5360 "funding": [ … … 5372 5372 } 5373 5373 ], 5374 "time": "2024-0 5-31T14:33:22+00:00"5374 "time": "2024-09-25T14:11:13+00:00" 5375 5375 }, 5376 5376 { 5377 5377 "name": "symfony/string", 5378 "version": "v5.4.4 4",5378 "version": "v5.4.45", 5379 5379 "source": { 5380 5380 "type": "git", 5381 5381 "url": "https://github.com/symfony/string.git", 5382 "reference": " 832caa16b6d9aac6bf11747315225f5aba384c24"5383 }, 5384 "dist": { 5385 "type": "zip", 5386 "url": "https://api.github.com/repos/symfony/string/zipball/ 832caa16b6d9aac6bf11747315225f5aba384c24",5387 "reference": " 832caa16b6d9aac6bf11747315225f5aba384c24",5382 "reference": "7f6807add88b1e2635f3c6de5e1ace631ed7cad2" 5383 }, 5384 "dist": { 5385 "type": "zip", 5386 "url": "https://api.github.com/repos/symfony/string/zipball/7f6807add88b1e2635f3c6de5e1ace631ed7cad2", 5387 "reference": "7f6807add88b1e2635f3c6de5e1ace631ed7cad2", 5388 5388 "shasum": "" 5389 5389 }, … … 5442 5442 ], 5443 5443 "support": { 5444 "source": "https://github.com/symfony/string/tree/v5.4.4 4"5444 "source": "https://github.com/symfony/string/tree/v5.4.45" 5445 5445 }, 5446 5446 "funding": [ … … 5458 5458 } 5459 5459 ], 5460 "time": "2024-09-2 0T07:56:40+00:00"5460 "time": "2024-09-25T14:11:13+00:00" 5461 5461 }, 5462 5462 { -
captcha-eu/trunk/readme.txt
r3175677 r3181755 5 5 Tested up to: 6.5 6 6 Requires PHP: 7.0 7 Stable tag: 1.0.4 17 Stable tag: 1.0.43 8 8 License: GPL 9 9 License URI: https://opensource.org/license/gpl/ … … 61 61 62 62 == Changelog == 63 = v1.0.43 = 64 gravity forms: improve re-try'ing and also add "widget" as an option! 63 65 = v1.0.42 = 64 66 fix woocommerce checkout -
captcha-eu/trunk/src/Admin.php
r3175677 r3181755 434 434 } 435 435 436 public function gform_abort_submission_with_confirmation($do_abort, $form) 437 { 436 public function gform_validation($validation_result) 437 { 438 $form = $validation_result['form']; 439 438 440 // GFORM opt out, if CSS Class cpt_disable is added, we ignore the spam check 439 // this, at first, might look like an easy bypass 440 // JS logic is disabled 441 // no sol arrives 442 // config is loaded exclusivly from server-side 443 if(isset($form["cssClass"]) && preg_match("/cpt_disable/", $form["cssClass"])) { 444 return false; 445 } 441 if (isset($form["cssClass"]) && preg_match("/cpt_disable/", $form["cssClass"])) { 442 return $validation_result; 443 } 444 446 445 // Allow short circuit by filter 447 446 $skipAbort = false; 448 447 $skipAbort = apply_filters('cpt_gform_skip_abort', $skipAbort, $form); 449 // if filter canceled, abort the abort 🤣 450 if($skipAbort) { 451 return false; 452 } 453 if ($do_abort) { 454 return $do_abort; 455 } 456 if (! isset($_POST['captcha_at_solution'])) { 457 return true; 448 if ($skipAbort) { 449 return $validation_result; 450 } 451 452 if (!isset($_POST['captcha_at_solution'])) { 453 $validation_result['is_valid'] = false; 454 add_filter('gform_validation_message', function ($message) { 455 return __('Captcha.eu - Please try again (error: gravity-e0)', 'captcha-eu'); 456 }); 457 return $validation_result; 458 458 } 459 459 460 460 $allow = $this->core->validate(sanitize_text_field(wp_unslash($_POST['captcha_at_solution']))); 461 if (! $allow) { 462 return true; 463 } 464 465 return $do_abort; 466 } 467 461 if (!$allow) { 462 $validation_result['is_valid'] = false; 463 add_filter('gform_validation_message', function ($message) { 464 return __('Captcha.eu - Please try again (error: gravity-e1)', 'captcha-eu'); 465 }); 466 return $validation_result; 467 } 468 469 return $validation_result; 470 } 468 471 public function ninja_forms_submit_data($formData) 469 472 { … … 1088 1091 // Gravity Forms 1089 1092 if (in_array('gravityforms', $selectedPlugins)) { 1090 add_filter('gform_abort_submission_with_confirmation', [$this, 'gform_abort_submission_with_confirmation'], 10, 2); 1091 add_filter('gform_confirmation', function ($confirmation, $form, $entry) { 1092 if (empty($entry) || 'spam' === rgar($entry, 'status')) { 1093 return __('Spam declined', 'captcha-eu'); 1094 } 1095 1096 return $confirmation; 1097 }, 11, 3); 1093 add_filter('gform_validation', [$this, 'gform_validation'], 10, 1); 1098 1094 } 1099 1095 -
captcha-eu/trunk/src/partials/options-settings.php
r3174180 r3181755 115 115 'choices' => [ 116 116 'gravityforms' => __('Enable', 'captcha-eu'), 117 'gravityforms-widget' => __('Use Widget', 'captcha-eu'), 117 118 ], 118 119 ], -
captcha-eu/trunk/vendor/autoload.php
r3175677 r3181755 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 3c89e272b7e550f2e3e8949316cc4758::getLoader();25 return ComposerAutoloaderInitf09cbe0fe725f87368f504b60804f22d::getLoader(); -
captcha-eu/trunk/vendor/composer/autoload_real.php
r3175677 r3181755 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 3c89e272b7e550f2e3e8949316cc47585 class ComposerAutoloaderInitf09cbe0fe725f87368f504b60804f22d 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 3c89e272b7e550f2e3e8949316cc4758', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitf09cbe0fe725f87368f504b60804f22d', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 3c89e272b7e550f2e3e8949316cc4758', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitf09cbe0fe725f87368f504b60804f22d', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 3c89e272b7e550f2e3e8949316cc4758::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitf09cbe0fe725f87368f504b60804f22d::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
captcha-eu/trunk/vendor/composer/autoload_static.php
r3175677 r3181755 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 3c89e272b7e550f2e3e8949316cc47587 class ComposerStaticInitf09cbe0fe725f87368f504b60804f22d 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 33 33 { 34 34 return \Closure::bind(function () use ($loader) { 35 $loader->prefixLengthsPsr4 = ComposerStaticInit 3c89e272b7e550f2e3e8949316cc4758::$prefixLengthsPsr4;36 $loader->prefixDirsPsr4 = ComposerStaticInit 3c89e272b7e550f2e3e8949316cc4758::$prefixDirsPsr4;37 $loader->classMap = ComposerStaticInit 3c89e272b7e550f2e3e8949316cc4758::$classMap;35 $loader->prefixLengthsPsr4 = ComposerStaticInitf09cbe0fe725f87368f504b60804f22d::$prefixLengthsPsr4; 36 $loader->prefixDirsPsr4 = ComposerStaticInitf09cbe0fe725f87368f504b60804f22d::$prefixDirsPsr4; 37 $loader->classMap = ComposerStaticInitf09cbe0fe725f87368f504b60804f22d::$classMap; 38 38 39 39 }, null, ClassLoader::class); -
captcha-eu/trunk/vendor/composer/installers/.git/logs/HEAD
r3175677 r3181755 1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 17 29860237+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/2 a24c987073cb81d1116308fe1a5970b2908cb36f d20a64ed3c94748397ff5973488761b22f6d3f19 Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 17 29860237+0000 checkout: moving from main to v1.12.01 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730748262 +0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/ 2 a24c987073cb81d1116308fe1a5970b2908cb36f d20a64ed3c94748397ff5973488761b22f6d3f19 Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730748262 +0000 checkout: moving from main to v1.12.0 -
captcha-eu/trunk/vendor/composer/installers/.git/logs/refs/heads/main
r3175677 r3181755 1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 17 29860237+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730748262 +0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/ -
captcha-eu/trunk/vendor/composer/installers/.git/logs/refs/remotes/origin/HEAD
r3175677 r3181755 1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 17 29860237+0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/1 0000000000000000000000000000000000000000 a24c987073cb81d1116308fe1a5970b2908cb36f Erick Hitter (GitLab CI) <git-contrib+ci@ethitter.com> 1730748262 +0000 clone: from /root/.composer/cache/vcs/https---github.com-composer-installers.git/ -
captcha-eu/trunk/vendor/composer/installers/.git/objects/info/packs
r3175677 r3181755 1 P pack- acf89b3a0b33d91bb8629bd40fbfd27d5eec4cf2.pack1 P pack-879077bfd396a73ba8357e3c4d380fa9d8440574.pack 2 2 -
captcha-eu/trunk/wp-captcha.php
r3175677 r3181755 4 4 * Description: Captcha.eu provides a GDPR compliant protection against bots and spammers. 5 5 * Plugin URI: https://www.captcha.eu 6 * Version: 1.0.4 16 * Version: 1.0.43 7 7 * Author: captchaeu 8 8 * Author URI: https://profiles.wordpress.org/captchaeu/
Note: See TracChangeset
for help on using the changeset viewer.