https is being stripped out of Google Recaptcha plugin
-
Looking on developer > Web Console the Google Ajax link is coming over as
<script src=”https://www.google.com/recaptcha/api.js?hl=en” async defer></script>
But the code is correct in the base-class.php file
/** reCAPTCHA header script */
public static function header_script() {$lang_option = self::$plugin_options[‘language’];
// if language is empty (auto detected chosen) do nothing otherwise add the lang query to the
// reCAPTCHA script url
if ( isset( $lang_option ) && ( ! empty( $lang_option ) ) ) {
$lang = “?hl=$lang_option”;
} else {
$lang = null;
}echo ‘<script src=”https://www.google.com/recaptcha/api.js’ . $lang . ‘” async defer></script>’ . “\r\n”;
Any help would be great!
https://www.ads-software.com/plugins/no-captcha-recaptcha-for-woocommerce/
- The topic ‘https is being stripped out of Google Recaptcha plugin’ is closed to new replies.