• /wp-content/plugins/contact-form-7-recaptcha-extension/includes/CF7reCAPTCHA.class.php

    Line 579 – Add:
    if (!isset($result[‘errors’]))
    $result[‘errors’] = $errors;

    Line 599 – Move out of ELSE:
    $error_list = $errors->get_error_messages(null);
    if (!empty($error_list)) {
    $result[‘valid’] = false;
    $error_out = “”;
    foreach ($error_list as $value) {
    $error_out .= $value;
    }
    $result[‘reason’][$name] = $error_out;
    }

    ————————————————

    /wp-content/plugins/wp-recaptcha/recaptcha.php

    Line 328 – Change with:
    $response = recaptcha_check_answer($this->options[‘private_key’], $_SERVER[‘REMOTE_ADDR’], $_POST[‘recaptcha_challenge_field’], $_POST[‘recaptcha_response_field’]);

    Line 335 – Comment:
    //echo ‘<div class=”error”>’ . $this->options[‘incorrect_response_error’] . ‘</div>’;

    http://wordpress.org/plugins/contact-form-7-recaptcha-extension/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Necessary correction for multisite’ is closed to new replies.