Captcha Error Customisations
-
Hi,
Thanks for this plugin. I hate reCaptcha!
It would be awesome if when you update next, you could add the error copy as form fields in the settings.
I edited the plugin file below:
public function load_defaults() {
$this->error_messages = array(
‘fill’ => ‘‘ . __( ‘ERROR’, ‘math-captcha’ ) . ‘: ‘ . __( ‘Please enter captcha value.’, ‘math-captcha’ ),
‘wrong’ => ‘‘ . __( ‘ERROR’, ‘math-captcha’ ) . ‘: ‘ . __( ‘Invalid captcha value, please try again.’, ‘math-captcha’ ),
‘time’ => ‘‘ . __( ‘ERROR’, ‘math-captcha’ ) . ‘: ‘ . __( ‘Captcha time expired, please refresh the page.’, ‘math-captcha’ )
);
}I don’t think it’d be too difficult to set defaults and then have them overridden in the settings page. Myabe I’m wrong though : )
Thanks again for the plugin.
The topic ‘Captcha Error Customisations’ is closed to new replies.