[Plugin: Register Plus] Fix anchor tag in mail error
-
I added an anchor tag around the confirmation link in the email for the new users, due to my webmail client not adding it itself, but I could see that the quotes got slashes around the and they did not get stripped, either in the admin part nor in the emails that where sent out.
So if you want to add an anchor tag in your emails, like around the confirmation link, it will break due to the slashes not being stripped.
For a quick fix, while this gets updated in future releases, you should edit the following lines to the following
Line: 900
<?php echo stripslashes($regplus['msg']);?>
Line: 941
<?php echo stripslashes($regplus['adminmsg']);?>
Line: 1817
$message = str_replace('%user_login%', $user_login, stripslashes($regplus['adminmsg']));
Line: 1879
$message = str_replace('%user_pass%', $plaintext_pass, stripslashes($regplus['msg']));
The last two you could also add later on when they get sent, look for the
wp_mail()
function on Line: 1847 and Line: 1915.Other than that I really like the script, just what I was looking for.
Cheers,
Olaf
- The topic ‘[Plugin: Register Plus] Fix anchor tag in mail error’ is closed to new replies.