WordPress new user / forgot password emails are broken

I had to make a plugin, copy-paste whole fuction from pluggable.php that makes new account and sends the email only to change < > to ( ) or remove < > which wraps the URL.

It breaks because WordPress email was HTML by default (it should be text) and < > are read as HTML tags. I didn’t set emails to HTML, Im not sure why it was HTML by default.

Fortunately it’s not a big deal for me because I was going to overwrite this function in future one way or another in order to make beautiful and responsive HTML emails.

This is very weird, is anyone else having this issue?

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)