#29060 closed defect (bug) (fixed)
Don't pass around the resetpass key
| Reported by: | nacin | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9.2 |
| Component: | Login and Registration | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
We should transfer it to a cookie instead and clear it when done.
Attachments (1)
Change History (10)
#2
follow-up:
↓ 3
@
12 years ago
Should we check if $_COOKIE[ $rp_cookie ] is set?
I see warnings if I visit wp-login.php?action=rp directly:
Notice: Undefined index: wp-resetpass-... in wp-login.php on line 571 Notice: Undefined offset: 1 in wp-login.php on line 571 Warning: Cannot modify header information - headers already sent by (output started at wp-login.php:571) in wp-login.php on line 576 Warning: Cannot modify header information - headers already sent by (output started at wp-login.php:571) in wp-includes\pluggable.php on line 1173
#3
in reply to: ↑ 2
@
12 years ago
Replying to SergeyBiryukov:
Should we check if
$_COOKIE[ $rp_cookie ]is set?
We can get rid of the notices with attachment:29060.diff. Care to test it out @SergeyBiryukov?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 29327: