Contact form ham triggers email with raw HTML #7179
Labels
[Feature] Contact Form
[Pri] High
[Type] Bug
When a feature is broken and / or not performing as intended
@dd32 noticed that contact form submission will show the raw HTML if they get stuck in the Spam queue, and then are later approved and sent.
I don't have time to verify this right now, but I'm pretty sure that I introduced the problem in #6658, and missed a chance to fix it in #7018. I think that
grunion_ajax_spam()
needs to be updated to wrapwp_mail()
calls in the same 2 filters that are set inGrunion_Contact_Form::process_submission()
.Steps to reproduce the issue
I haven't verified these yet, but it should be:
What I expected
content-type
header should betext/html
What happened instead
I haven't verified these yet, but I'm guessing that:
content-type
header istext/plain
The text was updated successfully, but these errors were encountered: