ozgurleo
asked 7 years ago

Hi,
I have tried to deploy DW Q&A into a site where a general users are not quite familar with technology. I mean they don not use emails. Thus could you help to disable the email requirements during question positing? I am using 1.4.5 version.
Thanks in advance.
 

1 Answers
DominicStaff
answered 7 years ago

To resolve this issue, you can open the Handle.php file in the lib folder and find the line 299 then remove the following code:

if ( empty( $_POST['_dwqa_anonymous_email'] ) || !is_email( sanitize_email( $_POST['_dwqa_anonymous_email'] ) ) ) {
dwqa_add_notice( __( 'Missing email information', 'dwqa' ), 'error' );
return false;
}
Powered by DW Question & Answer Pro