WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#19199 closed defect (bug) (fixed)

use wp_lostpassword_url() in wp-login.php

Reported by: ramiy Owned by: nacin
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: Users Keywords: has-patch
Focuses: 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 9 years ago.
19199-with-wp_login_url.patch (2.3 KB) - added by ramiy 9 years ago.
wp_lostpassword_url() & wp_login_url()

Download all attachments as: .zip

Change History (6)

@ramiy
9 years ago

@ramiy
9 years ago

wp_lostpassword_url() & wp_login_url()

#1 @nacin
9 years ago

  • 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.

#2 @SergeyBiryukov
9 years ago

  • Milestone changed from Awaiting Review to 3.3

#3 follow-up: @nacin
9 years ago

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

#4 in reply to: ↑ 3 @ramiy
9 years 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.