Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Astral Internet

    (@astralinternet)

    Thank you for this information, the hook work great.

    Wouln’d it be a good idea to add a hook for most multi languge extension (at least until Gutenberg natively support it (finger crossed!)). A simple addition to the code could do the trick :

    // Set Captcha language
    function mosparoOverrideMessages($options)
    {
        // Match WPML language if available
        if (has_action('wpml_current_language')) {
            $options['language'] = apply_filters( 'wpml_current_language', NULL );
            
        // Match Polylang language if available
        } elseif(function_exists(pll_current_language)) {
           $options['language'] = pll_current_language(); 
        }
        
        return $options;
    }
    add_filter('mosparo_integration_filter_frontend_options', 'mosparoOverrideMessages');

    Thread Starter Astral Internet

    (@astralinternet)

    When looking in the console, they is no specific detail. But when looking at the XHR request in the dev tools, when Opcache is enable, I get some 200 response and the error occur with a 301 response ? Which is strange to receive a permanant redirection message.

    This behavior only happen when Opcache is enable, without Opcache, we can proceed to the user exportation without any problem.

Viewing 2 replies - 1 through 2 (of 2 total)