WordPress.org

Forums

Contact Form 7 reCAPTCHA Extension
Necessary correction for multisite (2 posts)

  1. michele2.0
    Member
    Posted 1 year ago #

    /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/

  2. PlusCaptcha
    Member
    Posted 1 year ago #

    You have repeat the same post:

    http://wordpress.org/support/topic/necessary-correction-for-multisite-2?replies=1

    Try to notify author about the issue and wait or try with other plugin.

    Regards,
    Denis.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic