• Resolved Aurovrata Venet

    (@aurovrata)


    Dear Miyoshi-san

    the Really Simple Captch tag does not show up on the admin panel when creating/editing a form.
    The tag generator is condifioned on the value of the function wpcf7_use_really_simple_captcha() on line 241 of file contact-form-7/modules/really-simple-captcha.php and exits if the condition is false,

    
    function wpcf7_use_really_simple_captcha() {
      return apply_filters( 'wpcf7_use_really_simple_captcha', WPCF7_USE_REALLY_SIMPLE_CAPTCHA );
    }

    however, WPCF7_USE_REALLY_SIMPLE_CAPTCHA is set to false by default.
    I believe the following hook is required in the CF7 plugin to enable it,

    add_filter('wpcf7_use_really_simple_captcha', 'turn_on_rsc', 10, 1);
    function turn_on_rsc($turn_on){
      return class_exists( 'ReallySimpleCaptcha' );
    }

    and fix this small bug.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘BUG: Really Simple Captch tag not visible in admin’ is closed to new replies.