wp_lostpassword_url should be applied instead of using site_url
|Reported by:||markoheijnen||Owned by:||nacin|
At this moment there are several places where the following code is been used:
It would be better to change that to wp_lostpassword_url. I created a patch what does that.
Only in wp-login I left two lines open: form and error handling.
I also changed wp_lostpassword_url so it can used within networks. The if/else statement can be removed when always using network_site_url. Also added some spacing.
Related ticket is: #9932
Change History (7)
- Milestone changed from Awaiting Review to 3.3
- Type changed from enhancement to defect (bug)
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed