Ticket for: User Verification
0
Anonymous
Howdy I found a bug in your UserVerification plugin. The recaptcha field on comment forms is broken indicating the sitekey is invalid. This is because it includes the php constructs in the html output. Fix below:
--- functions-recaptcha.php-old.php 2022-10-03 20:13:14.278849000 +1030
+++ functions-recaptcha.php 2022-10-03 20:14:36.077653000 +1030
@@ -380,7 +380,7 @@
$html .= ' data-size="invisible" ';
}
- $html .= 'data-sitekey="<?php echo ' . esc_attr($sitekey) . '; ?>"></div>';
+ $html .= 'data-sitekey="' . esc_attr($sitekey) . '"></div>';
$default['fields']['recaptcha'] = $html;
0 Subscribers
Submit Answer
1 Answers
Best Answer
0
Hi, we've fixed the issue and updated the plugin. Could you please install the latest version and give it a try?
Regards.