PageSourceSearch

https://theblackstudentadvocatenetwork.com/wp-content/plugins/paid…/js/pmpro-recaptcha-v2.js?ver=3.8.1

js theblackstudentadvocatenetwork.com collected 2026-10-09 00:16:14 UTC 1,561 bytes, 46 lines download raw bytes

1var pmpro_recaptcha_validated = false;
2
3// Validation callback.
4function pmpro_recaptcha_validatedCallback() {
5    // ReCAPTCHA worked.
6    pmpro_recaptcha_validated = true;
7    
8    // Re-enable the submit button.
9    jQuery('.pmpro_btn-submit-checkout,.pmpro_btn-submit').removeAttr('disabled');
10
11    // Hide processing message.
12    jQuery('#pmpro_processing_message').css('visibility', 'hidden');
13    
14    // Hide error message.
15    if ( jQuery('#pmpro_message').text() == pmpro_recaptcha_v2.error_message ) {
16        jQuery( '#pmpro_message' ).hide();
17        jQuery( '#pmpro_message_bottom' ).hide();
18    }
19};
20
21// Expiration callback.
22function pmpro_recaptcha_expiredCallback() {
23    pmpro_recaptcha_validated = false;
24}
25// Check validation on submit.
26jQuery(document).ready(function(){
27    jQuery('#pmpro_form').submit(function(event){
28        if( pmpro_recaptcha_validated == false ) {
29            event.preventDefault();
30            
31            // Re-enable the submit button.
32            jQuery('.pmpro_btn-submit-checkout,.pmpro_btn-submit').removeAttr('disabled');
33
34            // Hide processing message.
35            jQuery('#pmpro_processing_message').css('visibility', 'hidden');
36
37            // error message
38            jQuery( '#pmpro_message' ).text( pmpro_recaptcha_v2.error_message ).addClass( 'pmpro_error' ).removeClass( 'pmpro_alert' ).removeClass( 'pmpro_success' ).hide().fadeIn();
39            jQuery( '#pmpro_message_bottom' ).hide().fadeIn();
40
41            return false;
42        } else {
43            return true;
44        }
45    });
46});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.