[wp-trac] [WordPress Trac] #34056: User registration email with link to generate password - link error.
WordPress Trac
noreply at wordpress.org
Mon Sep 28 13:09:54 UTC 2015
#34056: User registration email with link to generate password - link error.
------------------------------------+-----------------------------
Reporter: ibrythill | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version: 4.3.1
Severity: normal | Keywords:
Focuses: |
------------------------------------+-----------------------------
Link to generate password is surrounded by "<..>". In most Poland email
hosting, the last ">" is detected as part of the link. When follow this
link, the user name is not being recognised and password isn't generated.
To fix that, in pluggable.php change line 1741:
{{{
$message .= '<' . network_site_url("wp-
login.php?action=rp&key=$key&login=" . rawurlencode($user->user_login),
'login') . ">\r\n\r\n";
}}}
to this:
{{{
$message .= network_site_url("wp-login.php?action=rp&key=$key&login=" .
rawurlencode($user->user_login), 'login') . "\r\n\r\n";
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34056>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list