Opened 15 years ago
Closed 15 years ago
#18755 closed defect (bug) (fixed)
PHP Notices when requesting new password
| Reported by: | ampt | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Warnings/Notices | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In [19056]: