Remove captcha - by Ron - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp

  • Avatar: Ron
    Ron
    Participant
    March 13, 2015 at 15:48

    Hi,

    How do I remove the captcha from the registration page??

    Please help!

    Kind regards,

    Ron

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    March 13, 2015 at 18:00

    Hello,

    You need comment the following code in the file woopress/framework/theme-functions.php (line 1425):

    <div class="captcha-block">
                        <img src="<?php echo $captcha_img; ?>">
                        <input type="text" name="captcha-word" class="captcha-input">
                        <input type="hidden" name="captcha-prefix" value="<?php echo $prefix; ?>">
                    </div>

    and

    $captcha_instance = new ReallySimpleCaptcha();
            
            if(!$captcha_instance->check( $_REQUEST['captcha-prefix'], $_REQUEST['captcha-word'] )) {
                $return['status'] = 'error';
                $return['msg'] = __('The security code you entered did not match. Please try again.', ETHEME_DOMAIN);
                echo json_encode($return);
                die();

    on line 1569.

    Thank you.
    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.