eMail Bug – WordPress
September 12, 2009 | Posted by Wolf |
We received the first comment…a short comment from obosor.
We realized it because we have received an email that warns us that someone had just commented on one of our posts.
But something went wrong because this was the email’s subject:
[JennCria's Blog] Comment: “phpLD – SEO Categories”
The first thing I thought is that wordpress sends html encoded text in a plain/text email… maybe there is an email bug… I was right!
I started to examine the source code and after few minutes I realized that emails of any kind were sent through the function named wp_mail.
I have examined the function but everything seemed fine but there is an email bug, and that’s a fact.
I was left nothing to do but check the database. Examining the table named options I realized that the name of the blog was HTML encoded. Bingo!
At this point I had found the solution and to implement the patch took me less than 5 minutes.
Comments
Got something to say?