• Resolved David Whipple

    (@tickerator)


    I put in a formal name for my answer. The plugin does a strtolower on the user’s answer but NOT the normal answer.

    Quick fix:

    // do validation
    function tom_custom_answer_f($login,$email,$errors){
     global $tom_custom_question_a,$tom_custom_question_z;
       if (strtolower($_POST['tomcustomq']) != strtolower($tom_custom_question_a)){
        	$errors->add('tom_captcha_error',__($tom_custom_question_z));
       };
    
    }

    http://wordpress.org/plugins/stop-registration-spam/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Quick Fix you should make – strtolower on answer’ is closed to new replies.