- This topic has 3 replies, 2 voices, and was last updated 7 years, 10 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Dark Recaptcha
Tagged: recaptcha
Is it possible for the Recaptcha plugin to have a theme setting? For now I’ve edited the plugin file to include data-theme=”dark”, but any updates installed would undo my change.
We will look at adding an option for it in the addon.
This has been implemented. You can download a new copy from here:
https://simple-membership-plugin.com/simple-membership-and-google-recaptcha-integration/
Bug in the updated plugin, when enabling the captcha on the login page I now get these error messages.
Warning: Missing argument 2 for SwpmCaptcha::get_recaptcha_html(), called in ...\wp-content\plugins\swpm-recaptcha\classes\class.swpm-captcha.php on line 123 and defined in ...\wp-content\plugins\swpm-recaptcha\classes\class.swpm-captcha.php on line 62
Warning: Missing argument 3 for SwpmCaptcha::get_recaptcha_html(), called in ...\wp-content\plugins\swpm-recaptcha\classes\class.swpm-captcha.php on line 123 and defined in ...\wp-content\plugins\swpm-recaptcha\classes\class.swpm-captcha.php on line 62
Looking at the code line 123 should be
$output = $this->get_recaptcha_html( $settings->get_value( 'swpm-addon-google-recaptcha-site-key' ), $settings->get_value( 'swpm-addon-recaptcha-theme' ), $settings->get_value( 'swpm-addon-recaptcha-size' ) );