Doesn’t work with non standard admin urls
-
Hi, I just posted this information as part of a review, but this is probably a better place for it!
There’s a bug with the plugin which prevents it from working if you’re using a non-standard wordpress ajax url for any reason. Using a distribution like Bedrock is one way your ajax url could be different.
There’s a simple fix for the problem, just determine the admin ajax url in a better way, using the following code changes:
recaptcha.php line 64:
'ajax_url' => get_admin_url(null, 'admin-ajax.php'),
recaptcha.js line 92:
GriwpcAjax.post ( griwpco.ajax_url, { 'action' : 'griwpc_verify_recaptcha', 'resp' : griwpcr }, griwpcProcessAjaxResponse, true );
Thanks for the great plugin, hopefully you can get these fixes in!
- The topic ‘Doesn’t work with non standard admin urls’ is closed to new replies.