• Resolved Shazzad Hossain Khan

    (@sajib1223)


    Hi Team,

    I’d like to suggest an improvement to the email feedback submission handler (wp_ajax_nopriv_betterdocs_feedback_form_submit, FeedbackForm::submit).

    Currently, it appears that the handler processes requests regardless of whether the Email Feedback option is enabled in the settings. In my case, I’ve started receiving spam submissions through this endpoint, even after disabling the feature via Settings > Single Doc > Email Feedback.

    To prevent this, could you please consider adding a conditional check like the following before processing the request?

    if ( ! betterdocs()->settings->get( 'email_feedback' ) ) {
        wp_send_json_error( 'Email feedback is disabled.' );
    }
    

    This would help ensure that direct requests to the admin-ajax endpoint are properly blocked when the feature is disabled.

    Thank you for your attention to this!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Amin

    (@amin7)

    Hi @sajib1223

    Greetings!
    Thanks for your concern and bringing this scenario for our concern. I have already discussed this with team, and we will bring this improvement in the future.
    I hope you are enjoying the BetterDocs plugin. Feel free to reach us if you have further suggestion.

    Thanks again.

    Plugin Support Amin

    (@amin7)

    Hi @sajib1223
    Greetings!

    I am glad to share that, we have already fixed the issue, here is the development version of BetterDocs free plugin. Please download it from here, https://d.pr/f/U4vAqr and replace your current free plugin with it.
    Let me know how its going.

    Looking forward to hearing from you.
    Thanks

    Thread Starter Shazzad Hossain Khan

    (@sajib1223)

    Hi @amin7,

    I’ve tested the updated version, and everything looks great. Thanks again for your prompt response and support!

    Best Regards,
    Shazzad.

    Plugin Support Amin

    (@amin7)

    Hi @sajib1223
    Greetings!

    Thanks for the testing and confirm with us. Also, thanks for bringing this to our attention.
    Yes, our team has taken the issue with priority and fixed the issue quickly. It will be great, if you kindly consider giving a review for our plugin. 🙂
    Link to review – https://ww.wp.xz.cn/support/plugin/betterdocs/reviews/#new-post

    Thank you in advance!

    Thread Starter Shazzad Hossain Khan

    (@sajib1223)

    Thank you @amin7, review done !!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Email Feedback Status’ is closed to new replies.