Opened 19 months ago

Closed 19 months ago

Last modified 18 months ago

#19199 closed defect (bug) (fixed)

use wp_lostpassword_url() in wp-login.php

Reported by: ramiy Owned by: nacin
Priority: normal Milestone: 3.3
Component: Users Version: 3.3
Severity: normal Keywords: has-patch
Cc:

Description

related: #18808

use wp_lostpassword_url() instead of using site_url( 'wp-login.php?action=lostpassword' ) in wp-login.php.

Attachments (2)

19199.patch (657 bytes) - added by ramiy 19 months ago.
19199-with-wp_login_url.patch (2.3 KB) - added by ramiy 19 months ago.
wp_lostpassword_url() & wp_login_url()

Download all attachments as: .zip

Change History (6)

ramiy19 months ago

ramiy19 months ago

wp_lostpassword_url() & wp_login_url()

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [19281]:

Use wp_login_url() where possible in wp-login.php. props ramiy for initial patch. Escape with a tin foil hat. fixes #19199.

  • Milestone changed from Awaiting Review to 3.3

comment:3 follow-up: ↓ 4   nacin19 months ago

We can't use wp_lostpassword_url() in that one spot because the protocol is login_post, rather than login.

comment:4 in reply to: ↑ 3   ramiy18 months ago

Replying to nacin:

We can't use wp_lostpassword_url() in that one spot because the protocol is login_post, rather than login.

you are right, now i see that.

Note: See TracTickets for help on using tickets.