[wp-trac] [WordPress Trac] #52980: PHP notice on login page (without login)
WordPress Trac
noreply at wordpress.org
Tue Apr 6 18:37:24 UTC 2021
#52980: PHP notice on login page (without login)
------------------------------------+-----------------------------
Reporter: satrancali | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Login and Registration | Version: 2.9
Severity: normal | Resolution: fixed
Keywords: | Focuses:
------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"50677" 50677]:
{{{
#!CommitTicketReference repository="" revision="50677"
Login and Registration: Check if `$_GET['login']` is set before using it
in `wp-login.php`.
This avoids an "Undefined index" PHP notice displayed as part of password
reset process if `$_GET['key']` is set, but `$_GET['login']` is not.
Props satrancali.
Fixes #52980.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52980#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list