@ PowerMarketing, Could you post your code to paste bin or a gist? The forum moderator removed it ;-(
yes please, paste the code with paste bin otherwise we will not be able to modify it
thanks!
Other than a warning when sending test emails… seems to work!
Warning: extract() expects parameter 1 to be array, null given in
/wp-includes/pluggable.php on line 216
forgot password email, although it is set as HTML, is received as plain text with all the HTML tags visible.
do you know why?
and [user_login] in “forgot password” email does not work, it is blank.
thanks for any help.
Password reset e-mail gets send as plain text. Should be HTML. How to fix this?
Hi… Thanks for the fix.. Any chance that the HTML formatting was fixed. The email is sent without the [reset_url] as well which without it, a password reset can not be achieved. Thanks for your help
Hi
I took PowerMarketing’s file and replaced
$user = get_user_by('login', $user_login);
with
$user = get_user_by('login', sanitize_user($input));
Then the [reset_url] seems to work fine for me but the email is as plain text not HTML…
To those who are still having this issue. Please check my latest update. This works on my development environment and my production environment already. Haven’t tested with multi-site yet.
https://github.com/jay-jay/SB-Welcome-Email-Editor/commit/f3e0ed664e1e5a207b52a6b97f2b987d18941996