PluginProbe
Patchstack – WordPress & Plugins Security / 2.2.13
Patchstack – WordPress & Plugins Security v2.2.13
2.3.7 trunk 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 2.1.18 2.1.19 2.1.2 2.1.20 2.1.21 2.1.22 2.1.23 2.1.24 2.1.25 2.1.3 2.1.4 2.1.5 2.1.6 All 49 releases
patchstack / includes / views / captcha_invisible.php

captcha_invisible.php in Patchstack – WordPress & Plugins Security 2.2.13, at includes/views/captcha_invisible.php

19 lines 603 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // Do not allow the file to be called directly.
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6 ?>
7 <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback" async defer></script>
8 <script>
9 var onloadCallback = function() {
10 grecaptcha.execute();
11 }
12
13 function setResponse(response) {
14 document.getElementById("captcha-response").value = response;
15 }
16 </script>
17 <div class="g-recaptcha" data-sitekey="<?php echo esc_attr( $site_key ); ?>" data-size="invisible" data-callback="setResponse"></div>
18 <input type="hidden" id="captcha-response" name="captcha-response" />
19