[wp-trac] [WordPress Trac] #18755: PHP Notices when requesting new password
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 23 12:08:10 UTC 2011
#18755: PHP Notices when requesting new password
------------------------------+-----------------------------
Reporter: ampt | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version:
Severity: minor | Keywords: has-patch
------------------------------+-----------------------------
Submitting the lost password form without {{{$_POST['user_login']}}}
displays the following notices:
{{{
Notice: Undefined index: user_login in /wp-login.php on line 174
Notice: Undefined index: user_login in /wp-login.php on line 179
}}}
The current logic implies that {{{$_POST['user_login']}}} is defined.
Example POST data submission:
{{{
user_login&redirect_to&wp-submit=Get%20New%20Password
}}}
We can also remove {{{$_POST['user_email']}}} as it doesn't seem to be
used in the lost password form.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18755>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list